Added package documentation in api/doc.go.