Fix style in API documentaiton examples