Move from depreciated style events