Adds some more debugging.