Remove some useless code.
Extend NumberPicker to have "min" and "max" attributes.