Updated docs on API usage