Added additional debug traces.