Fix API usage in README