Added debug tools.