Implemented scope for NamedValue's namedValue reference.