Replaced loadmodules.post by ModuleEvent constant