Database reference might be a null.
Accept any class which extends Plan as being a plan.