hash: fix examples so they compile.