Fixed python module initialization