Remove to_hash method for OpenStruct.