protected function unwrap($value) { if ($value instanceof Context) { return $value->unwrap(); } else { return $value; } }