Implemented content-based node comparison.