Moved tracing algorithms to tracing strategy classes