Documentation tweaks and draft of a getBoundaries function