2 minor fixes in api documentation