Example of adding some helper methods for CustomEvents.