Added Singleton pattern.