Adding some debugging output.