PCT-671: Support for explain

Alpha prototype, WIP
I see, thanks.