moved all enum related code extensions into the base hermes project