Fixed a typo in the API.