Remove unused functions
Use the restore_view plugin