Fix up the automatic modifications.