-Minor corrections to api examples