Add API docs for names in README.