Cleans up module pattern.