remove hasDomain related methods