Registering enums.