Remove deprecated folders.