Add examples to API documentation.