Add custom PreCastEvent and CastEvent events