Added equals methods.