Remove depedency on hash-pre