Added support for ranges in parameters