Added a method to collapse all symbols.