SCALA: Rename classes