BUG: Various functions were missing from the API.

Ah, right. Squashed.