Migrate to new module system.