Add debugging output facilities.