Implement optional-constant.