Send parameters through to the `before`/`after` callbacks.

Addresses the issue in #166. Quick and dirty, no tests. Tried to run the test suite but seems like it wants a Mongo install.