Synchronised getEntities