Adding basic hash code and equals.