API.md: more syntax improvements