Add support for adding events