Added attribute for print_shapes