Extract hash walking out to reusable module