Also, implement hashcode, because it is naughty to not. Change-Id: I2042dac6840cf07027871783a7b6763578fa805d