Move NumericInput specification into attributes