Break public enumerations out from enclosing classes.