Various small utility classes for Scala