Performs additional work during the finalization phase, by applying a function to the end result.
Additional function to apply to the end result.