Updated comparison methods for data objects