Fixed errors with unsaved Devise files.