A port of Hilary Mason's classifier to Scala and Akka