Issue #155: Pass in the restful handler to the formatter.