If we keep the attribute, should we check if variableMap.contains('variable') and throw an exception if it is defined twice?