Should use `hasDomain()` here.