Added some console debug output.