Final bits of higher order functions.