[5.0] Make AssertionsTrait work

delete depend on client object