Add pretty print of source for PT client.
This can be used for reference.