Replace canonical domain checking.