Implement GetParentCallback.