Add better debugging output.