Supress return output when pretty is True, and fix pairwise bug