Support for custom events was moved to Core