Patch for r285.
could we add our own behaviors, like select a group of events and such and add variables and such to control how it works.