Context()->variables->add(n => ['Real', limits=>[1,20], resolution=>1]);I don't think there needs to be any additional special code for it. But if one really thinks that is necessary, it could be added into the part of the Context code that adds variables. It would not be too hard.
Davide