Add middleware to set a default request.instance.

This enables normal use without worrying about instances.