Added support for Logging and tracing.