deleteAllEntities method added to Util