Clean up API for enabling and disabling tracing, generalize working with ISession components.