Update API.md

Minor typo fix