validateRequiredParameters corrected to contemplate the case when no parameters are required