Fix issues in the API ref in the README