[5.0] Make AssertionsTrait work

delete depend on client object
Thanks for help!!