Fix for loading modules which do not return an object.