Adding more debug code.