Remove unused use statement in EventProviderTrait.