Add docs.

Just API docs for now, but I'll try to add more soonish.