Added support for the module pattern.