Add pretty print (from test.lua) to somewhere more useful.