Comparison classes methods now take in object