Add GetTrashed function and example