Trim off prefix from selected layers.