better support of validation contexts