Fix refactoring oversight
Remove old debugging helper