Added support to remove the API documentation from events