Implement pretty printing for more objects.