Tracing outer api

Expose tracing as an option to the outside.