Removed deprecated function - cm.foreach. Use cm.forEach. Remove old commented function - cm.clone.