The functions to work with enumerations.