Extend schema API to cover constants, test parsing of constants.
Finish implementing and testing constants.