Initial implementation of ForEntities