Added callback to move domains.