Trivial: remove unused code
Trivial: refactor null validator
Make valid? public for implementer's convenience
Refactor ParametersValidator
Explanation for Custom Validator