Add support for multiple event patterns.