Added example for extending the API framework.