Add basic support for REST handlers