Events: Fixes AttributeError