Added debug/logging info.