Updated docs for API usage