Surgical Refactor: Context to IContext, VarContext for root context