Added debug output.