More API functions

We're getting there.