Get objective parents with less code.