print_attrs cleanup.