Fix typo in API