Eliminate obsolete debugging code