Adding tools.trace and tools.namespace dependencies