Sigh.
Scala makes me so sad.