Added setting sharedInstance.