Add find function to GenericPersistentUnit