Set of common constants and simple API for converting from one to another.