Start adding some API docs.