Support for mode-dependent validation (SEMANTIC CHANGE!)