add support for logical constants.