Addition of debug code.