import enums/flags as submodules