Move hash combining into the parser library.