Added first pass of API docs.