Configuring the type of a module