Added support for maxUploads validation