Added debugging output.