Output routines should make its own checks about rank.