Flesh out API docs.

Now we've at least got some idea of which attributes are available in which
objects without having to look at the source.