Added better debug info.