removed new method, and undo deprecation getAllModules