Scala prototypes.