Fields of device configuration changed : added some restriction on
inputs. Also found some weird/dead lines of code (commented for
validation or soon to be remove).