trace API adjustments for easier dependency extraction