Add a template for the Singleton design pattern.