scala: add expression for scala 2.10.x branch.