Added transformFn to findByProperty()