Don't use reflection to handle enums