Use OpenStruct instead of class.