API.md markdown improvements