Added support for parameter validation