Freeze enumerated types and their properties.