replaced deprecated ProvidesEvents with EventManagerAwareTrait