Removed changes not related to the visualizer.