dirty: Add a search depth setting.