Add the module pattern for the code exampl.