Adding init function to module to make template setup (and other initialization) cleaner.