Make various spesh things available publicly.

Since extops and container specs may participate in spesh also, and so
need some graph manipulation APIs.