Added API for getting the entities from there