Rewrite Rest-Dispatch generators to allow extensions