Functional composition via a prototype on Function.