Compatibility with kdyby/validator@dev and Nette 2.2@dev