Move poorly placed debug output.