Uncommented logic used in debugging.