Route your data through a series of middleware functions.