Before and after filters for Backbone.Router.