Added field equality
Added method equality