Add parent_resource method