Fix validation usage examples
Merge pull request #1055 from majna/3.0

Fix validation usage examples