Afters are no longer middleware just simple functions, but should function the same way.