Added an accessor to access the "parent" member in entities.