Work-around for Scala 2.10.x reflection thread-safety issue