Bringing into scala 2.10