Removing deprecated SGRefObject and SGDynamicRefObjectArray