Add brief API docs for #12