Working on DerivedFunction and FunctionTree for structuring function composition.