Improve comments for addVariable.