Corrected the Singleton class.