Added basic events support for flag, unflag, and delete.