Hash cleanup.