Added temporary debug code.