Updated how a module is created.