Added support for event resource.