Custom events support.