SI-7345 Eliminate the `depth` var.

In favour of a val calculated during construction. Internalizes
the depth calculation into the Context constructor rather than
leaving it in the hands of the factory method `make`.

Also touched a few unrelated doc comments.