Throw exception if DeliveryPerson is not defined