Function composition a la scala.Function1.