Fix API usage example in the README