Add prettyprint support