F109: Add custom events support.