Added the type option to parameters