Adding API docs.