The constraints @Mod10Check and @Mod11Check should be usable via the programmatic API by providing definition types Mod10CheckDef and Mod11CheckDef.