Adding OpenStruct to convert hashes into objects.