Implemented extension point to the compare functionality.