Changes module loading callback to trigger after the dependencies are solved.