Move some module enums to a new header file