Implement other_entity and any_entity targeting.