Woops, middleware have to be classes.