Updated the module listing method.