Add validation for some method parameters