Oups ! The PIC18FK22 HAS a power management capability called PMD (Peripheral Module Disable), so no more regrets for me.

Oh yes, one regret however. A crazy designer has mixed PGC/PGD and RX2/TX2 on the same pins ! How can one use USART2 and debug with PicKit at the same time ? Fortunately PBP has SERIN/SEROUT bit-bang functions which allows to use any pins and do not need the integrated USART to do the job.

MikeBZH