Type check flag, see tests