Module, registerAutoloaders compatibility with ModuleDefinitionInterface