Add examples to api docs.