Added better debug formatting.