Added SingleInput and allowed limit to be specified. Relates to #42