Moved the enumeration classes to the corresponding namespaces.