Validate multiple parameters

The current implementation resets the list of validator on each iteration, leading to having only the last specified parameter to be validated.

This PR relies on #12 being merged. In case the implementation in #13 is chosen over #12, a simple `rebase` will do the trick. I can do it if needed.