Backwards compatibility for ModInteger and ModBoolean