Pulled getParent() into abstract base class.