Added API docs.