Added a dictionary key check for UnMapSingletonInstance and added UnMapSingleton method.