Make domains also work properly.