Add some return values to module loading