API, Examples and fixes