Replace some instances of Enum.at!() with hd().