Add attributes to Ruby objects