Implement comparisons for objects (Issue #93)