Structure is a typed key/value container.
class Person < Structure key :name key :friends, Array, [] end
Please see the wiki for more detail.