Cleaned up some unneeded nodes.