Move some pretty print methods from FDR3 into here.

They may be useful elsewhere.