Adding a middleware example.