Added support for default values of parameters