Use boost::function for making notes during equals operations.