Added per-dir history.