Scala utility library