Removing references to CWSmartObject