Fixes issues with $domain->save().