move alias levels into enums