Updated RestServerBase for code generation changes.