Create singletonTemplate