Implement Struct#to_a and Struct#values .