trace: implement operation APIs