Add ready middleware.
0.8.98