Added support for checkIntegrity in Schema;