[PATCH v4 00/10] Introduce new mode validation callbacks