Add support for middlewares.
No need to use bind.
Update version to 0.2.0.