Added example for api docs.