Added ranges and range checks to ConfigParameter.