Add SizeRange and sizeRange, deprecating MaxSize and maxSize.