Added necessary comments to the debug procedures.