Allow specification of modules on creation.