Add ```APITrace.begin()``` and ```.end()``` calls in this method to be consistent with other API calls.