Removes left over debug code.