Compare objects directly