Changed isParameterRequired to indicate the number of parameters expected