Migrated the module initialization.