move all enums to the top of the class