Add attributes to VariableDefinition.