Added more debug traces.