Fixing small spelling errors in API docs.