Move functions off *Context and onto *Value.