Moved Debug class to root source.