Module pattern setup.