Add Hash to derived trait implementations for Atom.