Added foreach, filter, map and fold