I think it would be easier to simply remove the whole method `getParent` because we can inherit the default.