Fix saving. Removes unused forms.