This reverts commit 50d2a986. The vtkInfovisBoostGraphAlgorithms module uses these forward declarations and friendship.