Fixed typo in API doc sample.