add support for .hasMod()