Added some debug output.