Some Scala syntax for personal use.