Removing obsolete modes