Adding convenience functions.

Having now written a dozen or so Cookoo programs, I've discovered
that I do some boilerplate calls very freqently. This commit
addresses some of those.