Added Singleton template.