Removing PMM debug code