Switch to module pattern.