manta: proper module loading support