Moved tracing out of statics to ease integration with Work Service