Add SingletonInitializer code snippet.