fix(API): Add missing trace init function