Add some needed functionality to the responder for html responses.