Make EntityRepository iterateable