Added support for flag grab and capture events.

Added support for flag grab and capture events.