Make Box hashable