create function foo as x -- { serverError UNSUPPORTED_METHOD }