Updated the generic type of the related entity objects to be a wildcard that extends OpenmrsObject to make it easier to work with from implementations.