Fix typo in API documentation