Support for enums and tests.