Add enum variants to the type namespace.

Make enum variants part of both the type and value namespaces.