Added some debugging output.