Added getModules() method