diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C
index e57cc8df7a91382eca852ba5fe8db12df71fdd80..e43b903749540414b68f075dfae4e5a45a20ea60 100644
--- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C
+++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C
@@ -142,7 +142,7 @@ void Foam::radiation::laserDTRM::initialiseReflection()
                 key,
                 reflectionModel::New
                 (
-                    iter.object(),
+                    iter.val(),
                     mesh_
                 )
             );
diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystemTemplates.H b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystemTemplates.H
index 642c88c3e09747130d9f68e8cc40365ff1a41f64..0cffbf066f00ed132e54be724972a2bae1096608 100644
--- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystemTemplates.H
+++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystemTemplates.H
@@ -46,7 +46,7 @@ void Foam::phaseSystem::createSubModels
             key,
             modelType::New
             (
-                iter.object(),
+                iter.val(),
                 phasePairs_[key]
             )
         );
@@ -76,7 +76,7 @@ void Foam::phaseSystem::createSubModels
             key,
             modelType::New
             (
-                iter.object(),
+                iter.val(),
                 mesh
             )
         );
diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/HeatAndMassTransferPhaseSystem/HeatAndMassTransferPhaseSystem.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/HeatAndMassTransferPhaseSystem/HeatAndMassTransferPhaseSystem.C
index 95cb33d1a2f6205a6a3f083a3ba0783a6668c141..f895a15de3ff9a2d16d45e2354cf39b89d8f570b 100644
--- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/HeatAndMassTransferPhaseSystem/HeatAndMassTransferPhaseSystem.C
+++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/HeatAndMassTransferPhaseSystem/HeatAndMassTransferPhaseSystem.C
@@ -61,7 +61,7 @@ HeatAndMassTransferPhaseSystem
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -194,7 +194,7 @@ Foam::HeatAndMassTransferPhaseSystem<BasePhaseSystem>::dmdt
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -231,7 +231,7 @@ Foam::HeatAndMassTransferPhaseSystem<BasePhaseSystem>::momentumTransfer() const
     // Source term due to mass transfer
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -318,7 +318,7 @@ Foam::HeatAndMassTransferPhaseSystem<BasePhaseSystem>::heatTransfer() const
     // Source term due to mass transfer
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C
index 2a213d61f521e35d1f807d4f7cd8512682a6cb25..c52a1f9e2e0a5ec3bb17c0900e276dd03ad37e9e 100644
--- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C
+++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/InterfaceCompositionPhaseChangePhaseSystem/InterfaceCompositionPhaseChangePhaseSystem.C
@@ -82,7 +82,7 @@ massTransfer() const
     // Reset the interfacial mass flow rates
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -99,11 +99,9 @@ massTransfer() const
     // Sum up the contribution from each interface composition model
     forAllConstIters(interfaceCompositionModels_, modelIter)
     {
-        const phasePair& pair =
-            *(this->phasePairs_[modelIter.key()]);
+        const phasePair& pair = *(this->phasePairs_[modelIter.key()]);
 
-        const interfaceCompositionModel& compositionModel =
-            *(modelIter.object());
+        const interfaceCompositionModel& compositionModel = *(modelIter.val());
 
         const phaseModel& phase = pair.phase1();
         const phaseModel& otherPhase = pair.phase2();
@@ -185,7 +183,7 @@ correctThermo()
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.C
index 88c8725a0a398a2d2e2a3fcc2ca612a08e944e6d..cba9c2d830e8d375c27568b490d43623ae14526c 100644
--- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.C
+++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.C
@@ -44,7 +44,7 @@ ThermalPhaseChangePhaseSystem
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -106,7 +106,7 @@ Foam::ThermalPhaseChangePhaseSystem<BasePhaseSystem>::heatTransfer() const
     // Accumulate mDotL contributions from boundaries
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -201,7 +201,7 @@ Foam::ThermalPhaseChangePhaseSystem<BasePhaseSystem>::massTransfer() const
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -270,7 +270,7 @@ Foam::ThermalPhaseChangePhaseSystem<BasePhaseSystem>::iDmdt
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
@@ -305,7 +305,7 @@ void Foam::ThermalPhaseChangePhaseSystem<BasePhaseSystem>::correctThermo()
 
     forAllConstIters(this->phasePairs_, phasePairIter)
     {
-        const phasePair& pair = *(phasePairIter.object());
+        const phasePair& pair = *(phasePairIter.val());
 
         if (pair.ordered())
         {
diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemTemplates.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemTemplates.C
index 824f98b33cb80974c6d534bd3814a10b34d072df..2e3478c769d77d13d6dc57245eeadfea838be910 100644
--- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemTemplates.C
+++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/phaseSystem/phaseSystemTemplates.C
@@ -48,7 +48,7 @@ void Foam::phaseSystem::createSubModels
             key,
             modelType::New
             (
-                iter.object(),
+                iter.val(),
                 phasePairs_[key]()
             )
         );
diff --git a/applications/test/HashPtrTable/Test-HashPtrTable.C b/applications/test/HashPtrTable/Test-HashPtrTable.C
index 79ef9f3d39e39aa384f8136aa68b191500207b2f..d16f7b56f76981d7a51d3f2088cbca23a3a51d24 100644
--- a/applications/test/HashPtrTable/Test-HashPtrTable.C
+++ b/applications/test/HashPtrTable/Test-HashPtrTable.C
@@ -39,7 +39,7 @@ void printTable(const HashPtrTable<T>& table)
 
     forAllConstIters(table, iter)
     {
-        const T* ptr = iter.object();
+        const T* ptr = iter.val();
         Info<< iter.key() << " = ";
         if (ptr)
         {
diff --git a/applications/test/HashTable1/Test-HashTable1.C b/applications/test/HashTable1/Test-HashTable1.C
index 26171deee04c37a2ecae21d689a286bc3662ac3b..0997aa64b05feb85653f4ae8465b1882ef760d8e 100644
--- a/applications/test/HashTable1/Test-HashTable1.C
+++ b/applications/test/HashTable1/Test-HashTable1.C
@@ -112,7 +112,7 @@ int main()
     Info<< "\nerase table2 by iterator" << nl;
     forAllIters(table2, iter)
     {
-        Info<< "erasing " << iter.key() << " => " << iter.object() << " ... ";
+        Info<< "erasing " << iter.key() << " => " << iter.val() << " ... ";
         table2.erase(iter);
         Info<< "erased" << endl;
     }
diff --git a/applications/test/PtrMap/Test-PtrMap.C b/applications/test/PtrMap/Test-PtrMap.C
index 6d5866bc6d30f7f211cfbccb33a5e45ab0503590..6e575d7ff6e115a9dc0129dee9fbff06d60fb885 100644
--- a/applications/test/PtrMap/Test-PtrMap.C
+++ b/applications/test/PtrMap/Test-PtrMap.C
@@ -38,7 +38,7 @@ void printTable(const PtrMap<T>& table)
 
     forAllConstIters(table, iter)
     {
-        const T* ptr = iter.object();
+        const T* ptr = iter.val();
         Info<< iter.key() << " = ";
         if (ptr)
         {
diff --git a/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H b/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H
index d7bdadc46f5b4432913b66fb5f3177db365492b5..05c3af815033c36aea88abc9186c6a6baf56000e 100644
--- a/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H
+++ b/src/OpenFOAM/containers/HashTables/HashTable/HashTable.H
@@ -652,6 +652,7 @@ protected:
             }
 
             //- The object (value) associated with the iterator
+            //  \deprecated(2019-01) use val() method
             inline mapped_type& object() const
             {
                 return entry_->mapped();
diff --git a/src/OpenFOAM/db/IOobjectList/IOobjectList.C b/src/OpenFOAM/db/IOobjectList/IOobjectList.C
index e9899964bdaa055edb914f27a3b43e53dcfb5887..e86c395acf62e5879c6755208b56b12a238b72f0 100644
--- a/src/OpenFOAM/db/IOobjectList/IOobjectList.C
+++ b/src/OpenFOAM/db/IOobjectList/IOobjectList.C
@@ -3,7 +3,7 @@
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
     \\  /    A nd           | Copyright (C) 2011-2017 OpenFOAM Foundation
-     \\/     M anipulation  | Copyright (C) 2016-2018 OpenCFD Ltd.
+     \\/     M anipulation  | Copyright (C) 2016-2019 OpenCFD Ltd.
 -------------------------------------------------------------------------------
 License
     This file is part of OpenFOAM.
@@ -194,7 +194,7 @@ Foam::label Foam::IOobjectList::append(const IOobjectList& other)
                 InfoInFunction << "Copy append " << iter.key() << nl;
             }
 
-            set(iter.key(), new IOobject(*(iter.object())));
+            set(iter.key(), new IOobject(*(iter.val())));
             ++count;
         }
     }
@@ -253,7 +253,7 @@ const Foam::IOobject* Foam::IOobjectList::cfindObject
             InfoInFunction << "Found " << objName << endl;
         }
 
-        return iter.object();
+        return iter.val();
     }
     else if (IOobject::debug)
     {
@@ -422,9 +422,10 @@ Foam::Ostream& Foam::operator<<(Ostream& os, const IOobjectList& list)
 {
     os << nl << list.size() << nl << token::BEGIN_LIST << nl;
 
-    forAllConstIters(list, it)
+    forAllConstIters(list, iter)
     {
-        os << it.key() << token::SPACE << it.object()->headerClassName() << nl;
+        os  << iter.key() << token::SPACE
+            << iter.val()->headerClassName() << nl;
     }
 
     os << token::END_LIST;
diff --git a/src/OpenFOAM/db/IOobjectList/IOobjectListTemplates.C b/src/OpenFOAM/db/IOobjectList/IOobjectListTemplates.C
index d3f5e9a9bd1c08db6754c85792b46abb7bc2b01f..5ebedcbd993de837d0292af00f58ba889b7d319c 100644
--- a/src/OpenFOAM/db/IOobjectList/IOobjectListTemplates.C
+++ b/src/OpenFOAM/db/IOobjectList/IOobjectListTemplates.C
@@ -2,7 +2,7 @@
   =========                 |
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
-    \\  /    A nd           | Copyright (C) 2018 OpenCFD Ltd.
+    \\  /    A nd           | Copyright (C) 2018-2019 OpenCFD Ltd.
      \\/     M anipulation  |
 -------------------------------------------------------------------------------
 License
@@ -42,7 +42,7 @@ Foam::HashTable<Foam::wordHashSet> Foam::IOobjectList::classesImpl
     forAllConstIters(list, iter)
     {
         const word& key = iter.key();
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (matchName(key))
         {
@@ -68,7 +68,7 @@ Foam::label Foam::IOobjectList::countImpl
 
     forAllConstIters(list, iter)
     {
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (matchClass(io->headerClassName()) && matchName(io->name()))
         {
@@ -92,7 +92,7 @@ Foam::label Foam::IOobjectList::countTypeImpl
 
     forAllConstIters(list, iter)
     {
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (io->isHeaderClassName<Type>() && matchName(io->name()))
         {
@@ -120,7 +120,7 @@ Foam::wordList Foam::IOobjectList::namesImpl
     forAllConstIters(list, iter)
     {
         const word& key = iter.key();
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (matchClass(io->headerClassName()) && matchName(key))
         {
@@ -155,7 +155,7 @@ Foam::wordList Foam::IOobjectList::namesTypeImpl
     forAllConstIters(list, iter)
     {
         const word& key = iter.key();
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (io->isHeaderClassName<Type>() && matchName(key))
         {
@@ -188,7 +188,7 @@ Foam::IOobjectList Foam::IOobjectList::lookupImpl
     forAllConstIters(list, iter)
     {
         const word& key = iter.key();
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (matchName(key))
         {
@@ -219,7 +219,7 @@ Foam::IOobjectList Foam::IOobjectList::lookupClassImpl
     forAllConstIters(list, iter)
     {
         const word& key = iter.key();
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (matchClass(io->headerClassName()) && matchName(key))
         {
@@ -249,7 +249,7 @@ Foam::IOobjectList Foam::IOobjectList::lookupClassTypeImpl
     forAllConstIters(list, iter)
     {
         const word& key = iter.key();
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (io->isHeaderClassName<Type>() && matchName(key))
         {
@@ -278,7 +278,7 @@ const Foam::IOobject* Foam::IOobjectList::cfindObject
 
     if (iter.found())
     {
-        const IOobject* io = iter.object();
+        const IOobject* io = iter.val();
 
         if (io->isHeaderClassName<Type>())
         {
@@ -635,7 +635,7 @@ Foam::label Foam::IOobjectList::filterClasses
         // Matches? either prune (pruning) or keep (!pruning)
         if
         (
-            (pred(iter.object()->headerClassName()) ? pruning : !pruning)
+            (pred(iter.val()->headerClassName()) ? pruning : !pruning)
          && erase(iter)
         )
         {
diff --git a/src/OpenFOAM/db/dictionary/dictionarySearch.C b/src/OpenFOAM/db/dictionary/dictionarySearch.C
index 28895987365e00d6e90162207518cdd0db505d3a..56460f28dd9c4df5dcb9e52a34908ff9fa9d43c8 100644
--- a/src/OpenFOAM/db/dictionary/dictionarySearch.C
+++ b/src/OpenFOAM/db/dictionary/dictionarySearch.C
@@ -271,7 +271,7 @@ Foam::dictionary::const_searcher Foam::dictionary::csearch
 
     if (iter.found())
     {
-        finder.set(iter.object());
+        finder.set(iter.val());
         return finder;
     }
 
@@ -427,7 +427,7 @@ const Foam::dictionary* Foam::dictionary::cfindScopedDict
 
             if (iter.found())
             {
-                const entry *eptr = iter.object();
+                const entry *eptr = iter.val();
 
                 if (eptr->isDict())
                 {
@@ -534,7 +534,7 @@ Foam::dictionary* Foam::dictionary::makeScopedDict(const fileName& dictPath)
 
             if (iter.found())
             {
-                entry *eptr = iter.object();
+                entry *eptr = iter.val();
 
                 if (eptr->isDict())
                 {
diff --git a/src/OpenFOAM/db/objectRegistry/objectRegistry.C b/src/OpenFOAM/db/objectRegistry/objectRegistry.C
index a747de2c83a49580e23445227fbf380ea3387e8f..e3310a4007e3c91ae6125403f4aa230e9a61d3a6 100644
--- a/src/OpenFOAM/db/objectRegistry/objectRegistry.C
+++ b/src/OpenFOAM/db/objectRegistry/objectRegistry.C
@@ -90,9 +90,9 @@ Foam::objectRegistry::~objectRegistry()
 
     for (iterator iter = begin(); iter != end(); ++iter)
     {
-        if (iter.object()->ownedByRegistry())
+        if (iter.val()->ownedByRegistry())
         {
-            myObjects[nObjects++] = iter.object();
+            myObjects[nObjects++] = iter.val();
         }
     }
 
diff --git a/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C b/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C
index e75a304edae4462e03284506fe9de255f4eb001c..f2ecbf6c5733ce49830fa9ad15a0218b6dad808c 100644
--- a/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C
+++ b/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C
@@ -42,12 +42,12 @@ Foam::HashTable<Foam::wordHashSet> Foam::objectRegistry::classesImpl
     // Summary (key,val) = (class-name, object-names)
     forAllConstIters(list, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if (matchName(obj->name()))
         {
             // Create entry (if needed) and insert
-            summary(iter.object()->type()).insert(obj->name());
+            summary(iter.val()->type()).insert(obj->name());
         }
     }
 
@@ -68,7 +68,7 @@ Foam::label Foam::objectRegistry::countImpl
 
     forAllConstIters(list, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if (matchClass(obj->type()) && matchName(obj->name()))
         {
@@ -92,7 +92,7 @@ Foam::label Foam::objectRegistry::countTypeImpl
 
     forAllConstIters(list, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if
         (
@@ -123,7 +123,7 @@ Foam::wordList Foam::objectRegistry::namesImpl
     label count=0;
     forAllConstIters(list, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if (matchClass(obj->type()) && matchName(obj->name()))
         {
@@ -157,7 +157,7 @@ Foam::wordList Foam::objectRegistry::namesTypeImpl
     label count = 0;
     forAllConstIters(list, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if
         (
@@ -235,7 +235,7 @@ Foam::label Foam::objectRegistry::count
 
     forAllConstIters(*this, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if
         (
@@ -337,7 +337,7 @@ Foam::HashTable<const Type*> Foam::objectRegistry::lookupClass
 
     forAllConstIters(*this, iter)
     {
-        const regIOobject* obj = iter.object();
+        const regIOobject* obj = iter.val();
 
         if (strict ? isType<Type>(*obj) : bool(isA<Type>(*obj)))
         {
@@ -359,7 +359,7 @@ Foam::HashTable<Type*> Foam::objectRegistry::lookupClass
 
     forAllIters(*this, iter)
     {
-        regIOobject* obj = iter.object();
+        regIOobject* obj = iter.val();
 
         if (strict ? isType<Type>(*obj) : bool(isA<Type>(*obj)))
         {
diff --git a/src/OpenFOAM/fields/Fields/transformList/transformList.C b/src/OpenFOAM/fields/Fields/transformList/transformList.C
index 7088bcd7e07f6fdc713f81b919e5d90d68f8099d..675fef4ba1d07c5e01b5ed48f76907b997c46d88 100644
--- a/src/OpenFOAM/fields/Fields/transformList/transformList.C
+++ b/src/OpenFOAM/fields/Fields/transformList/transformList.C
@@ -84,7 +84,7 @@ void Foam::transformList(const tensor& rotTensor, Map<T>& field)
 {
     forAllIters(field, iter)
     {
-        T& value = iter.object();
+        T& value = iter.val();
         value = transform(rotTensor, value);
     }
 }
@@ -112,7 +112,7 @@ void Foam::transformList(const tensor& rotTensor, EdgeMap<T>& field)
 {
     forAllIters(field, iter)
     {
-        T& value = iter.object();
+        T& value = iter.val();
         value = transform(rotTensor, value);
     }
 }
diff --git a/src/OpenFOAM/global/argList/argList.C b/src/OpenFOAM/global/argList/argList.C
index 94aa51ca8dc5effb973c10f852f9d8c29d0810dd..9323af8bd0081875abc3f92104641175d6ba22b5 100644
--- a/src/OpenFOAM/global/argList/argList.C
+++ b/src/OpenFOAM/global/argList/argList.C
@@ -646,7 +646,7 @@ void Foam::argList::setCasePaths()
 
     if (optIter.found())
     {
-        caseDir = optIter.object();
+        caseDir = optIter.val();
         caseDir.clean();
 
         if (caseDir.empty() || caseDir == ".")
diff --git a/src/OpenFOAM/meshes/Identifiers/patch/coupleGroupIdentifier.C b/src/OpenFOAM/meshes/Identifiers/patch/coupleGroupIdentifier.C
index 0f9a8c111432261a6bfa4ec5a8860a77915f96eb..28d8683b027d804e588c2267aa56340695bff2cb 100644
--- a/src/OpenFOAM/meshes/Identifiers/patch/coupleGroupIdentifier.C
+++ b/src/OpenFOAM/meshes/Identifiers/patch/coupleGroupIdentifier.C
@@ -65,7 +65,7 @@ Foam::label Foam::coupleGroupIdentifier::findOtherPatchID
     }
 
     // Mesh has patch group
-    const labelList& patchIDs = fnd.object();
+    const labelList& patchIDs = fnd.val();
 
     if (&mesh == &thisPatch.boundaryMesh().mesh())
     {
diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
index f32a551c51490382fe67760cca94b4168f8ec0e3..81b8c4a2e266881f58ae13280bd0392af68765ac 100644
--- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
+++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
@@ -739,7 +739,7 @@ void Foam::globalPoints::remove
     forAllConstIters(oldMeshToProcPoint, iter)
     {
         const label localPointi = iter.key();
-        const labelPairList& pointInfo = oldProcPoints[iter.object()];
+        const labelPairList& pointInfo = oldProcPoints[iter.val()];
 
         if (pointInfo.size() == 2)
         {
diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
index 741aeef3e81c4561aa578c1495e5f4a6b1ad02e1..bfdda54c3510d26208726eecb770e0448a09dc76 100644
--- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
+++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
@@ -390,7 +390,7 @@ Foam::polyBoundaryMesh::neighbourEdges() const
                 else
                 {
                     // Second occurrence. Store.
-                    const labelPair& edgeInfo = fnd.object();
+                    const labelPair& edgeInfo = fnd.val();
 
                     neighbourEdges[patchi][edgei - pp.nInternalEdges()] =
                         edgeInfo;
@@ -704,7 +704,7 @@ Foam::labelList Foam::polyBoundaryMesh::indices
             if (iter.found())
             {
                 // Hash the patch ids for the group
-                labelHashSet groupIndices(iter.object());
+                labelHashSet groupIndices(iter.val());
 
                 groupIndices.erase(patchIndices);  // Skip existing
                 patchIndices.append(groupIndices.sortedToc());
diff --git a/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C b/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
index c0b15c78dae0641f585260163d77216490ef0126..2655247eaa9b8c461907d6ab54c1fe2cf18f3122 100644
--- a/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
+++ b/src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
@@ -189,7 +189,7 @@ void Foam::syncTools::syncPointMap
                         pointValues,
                         cop,
                         meshPts[nbrIter.key()],
-                        nbrIter.object()
+                        nbrIter.val()
                     );
                 }
             }
@@ -307,7 +307,7 @@ void Foam::syncTools::syncPointMap
                             sharedPointValues,
                             cop,
                             iter.key(),     // edge
-                            iter.object()   // value
+                            iter.val()      // value
                         );
                     }
                 }
@@ -465,7 +465,7 @@ void Foam::syncTools::syncEdgeMap
                         edgeValues,
                         cop,
                         meshEdge,           // edge
-                        nbrIter.object()    // value
+                        nbrIter.val()       // value
                     );
                 }
             }
@@ -672,7 +672,7 @@ void Foam::syncTools::syncEdgeMap
                         sharedEdgeValues,
                         cop,
                         iter.key(),     // edge
-                        iter.object()   // value
+                        iter.val()      // value
                     );
                 }
             }
@@ -721,7 +721,7 @@ void Foam::syncTools::syncEdgeMap
     forAllConstIters(potentialSharedEdge, iter)
     {
         const edge& sharedEdge = iter.key();
-        const edge& meshEdge = iter.object();
+        const edge& meshEdge = iter.val();
 
         // Do I have a value for the shared edge?
         const auto sharedFnd = sharedEdgeValues.cfind(sharedEdge);
diff --git a/src/OpenFOAM/primitives/enums/NamedEnum.C b/src/OpenFOAM/primitives/enums/NamedEnum.C
index 7b5cc701de35ac15bc25f95abf7d7804cf9621ac..8bd7aa16b7114982eb104cf74b86917d43572f6a 100644
--- a/src/OpenFOAM/primitives/enums/NamedEnum.C
+++ b/src/OpenFOAM/primitives/enums/NamedEnum.C
@@ -96,7 +96,7 @@ Foam::List<int> Foam::NamedEnum<EnumType, nEnum>::values() const
 
             if (iter.found())
             {
-                lst[count++] = iter.object();
+                lst[count++] = iter.val();
             }
         }
     }
@@ -113,7 +113,7 @@ bool Foam::NamedEnum<EnumType, nEnum>::hasName(const EnumType e) const
 
     forAllConstIters(lookup_, iter)
     {
-        if (iter.object() == enumValue)
+        if (iter.val() == enumValue)
         {
             return true;
         }
@@ -140,7 +140,7 @@ EnumType Foam::NamedEnum<EnumType, nEnum>::lookup
             << exit(FatalIOError);
     }
 
-    return EnumType(iter.object());
+    return EnumType(iter.val());
 }
 
 
@@ -177,7 +177,7 @@ EnumType Foam::NamedEnum<EnumType, nEnum>::read(Istream& is) const
             << exit(FatalIOError);
     }
 
-    return EnumType(iter.object());
+    return EnumType(iter.val());
 }
 
 
diff --git a/src/conversion/ccm/reader/ccmInterfaceDefinitions.H b/src/conversion/ccm/reader/ccmInterfaceDefinitions.H
index 066340be8062a949155c63e930622215f563a5cb..1b0dd864a73aab71175de15d4c1ef44054f80705 100644
--- a/src/conversion/ccm/reader/ccmInterfaceDefinitions.H
+++ b/src/conversion/ccm/reader/ccmInterfaceDefinitions.H
@@ -224,7 +224,7 @@ public:
         {
             forAllConstIters(map(), iter)
             {
-                if (iter.object().inInterface(bndId))
+                if (iter.val().inInterface(bndId))
                 {
                     return true;
                 }
@@ -240,7 +240,7 @@ public:
             word ifname;
             forAllConstIters(map(), iter)
             {
-                ifname = iter.object().canonicalName(bndId);
+                ifname = iter.val().canonicalName(bndId);
                 if (!ifname.empty())
                 {
                     break;
diff --git a/src/conversion/ccm/reader/ccmReaderAux.C b/src/conversion/ccm/reader/ccmReaderAux.C
index eead7bb1c98add7d98d90b8e4d719025bae388a5..9523416c57caf72cb06e81fc388655bd33c4b894 100644
--- a/src/conversion/ccm/reader/ccmReaderAux.C
+++ b/src/conversion/ccm/reader/ccmReaderAux.C
@@ -94,7 +94,7 @@ void Foam::ccm::reader::warnDuplicates
         Info << nl << "WARNING: " << context << " with identical names:";
         forAllConstIters(hashed, iter)
         {
-            if (iter.object() > 1)
+            if (iter.val() > 1)
             {
                 Info << "  " << iter.key();
             }
diff --git a/src/conversion/ccm/reader/ccmReaderMesh.C b/src/conversion/ccm/reader/ccmReaderMesh.C
index eb03312b8cb172e958589235ccc6bdf4aa5775e9..1a1616c50f070e8cdad34469c3a2884300919242 100644
--- a/src/conversion/ccm/reader/ccmReaderMesh.C
+++ b/src/conversion/ccm/reader/ccmReaderMesh.C
@@ -480,7 +480,7 @@ void Foam::ccm::reader::readCells
         auto dictIter = boundaryRegion_.find(info.ccmIndex);
         if (dictIter.found())
         {
-            dictionary& dict = dictIter.object();
+            dictionary& dict = dictIter.val();
 
             const word patchName(dict.get<word>("Label"));
             const word patchType(dict.get<word>("BoundaryType"));
@@ -1263,7 +1263,7 @@ void Foam::ccm::reader::removeUnwanted()
             forAllConstIters(removeMap, iter)
             {
                 Info<< "    zone "
-                    << iter.key() << " : " << iter.object() << nl;
+                    << iter.key() << " : " << iter.val() << nl;
             }
 
             Info<<"retain "<< (nCells_ - nRemove) << " cells in "
@@ -1272,7 +1272,7 @@ void Foam::ccm::reader::removeUnwanted()
             forAllConstIters(keepMap, iter)
             {
                 Info<< "    zone "
-                    << iter.key() << " : " << iter.object() << nl;
+                    << iter.key() << " : " << iter.val() << nl;
             }
         }
     }
@@ -1826,7 +1826,7 @@ void Foam::ccm::reader::mergeInplaceInterfaces()
 
     forAllConstIters(interfaceDefinitions_, iter)
     {
-        const interfaceEntry& ifentry = iter.object();
+        const interfaceEntry& ifentry = iter.val();
 
         labelPair patchPair
         (
@@ -2366,7 +2366,7 @@ void Foam::ccm::reader::reorderMesh()
 
     forAllIters(monitoringSets_, iter)
     {
-        labelList& lst = iter.object();
+        labelList& lst = iter.val();
         inplaceRenumber(oldToNew, lst);
 
         // disallow monitoring on boundaries
diff --git a/src/conversion/common/tables/cellTable.C b/src/conversion/common/tables/cellTable.C
index d01749d139499c5a2bf4da478b212ce531c244bc..cd547c3b7beac41f6e69371fbb6c87330373755f 100644
--- a/src/conversion/common/tables/cellTable.C
+++ b/src/conversion/common/tables/cellTable.C
@@ -239,7 +239,7 @@ Foam::Map<Foam::word> Foam::cellTable::selectType(const word& matl) const
     forAllConstIter(Map<dictionary>, *this, iter)
     {
         const label index = iter.key();
-        const dictionary& dict = iter.object();
+        const dictionary& dict = iter.val();
 
         if
         (
diff --git a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C
index abc72e686f01cc438f26264b5189d2a8a5514af3..833ca52505f7788c0b5d9a54dda25e9b1d2e7994 100644
--- a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C
+++ b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C
@@ -589,7 +589,7 @@ Foam::dynamicRefineFvMesh::unrefine
             forAllConstIters(faceToSplitPoint, iter)
             {
                 const label oldFacei = iter.key();
-                const label oldPointi = iter.object();
+                const label oldPointi = iter.val();
 
                 if (reversePointMap[oldPointi] < 0)
                 {
diff --git a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
index 6edc19c243c560ec40553a653881c1013039e81c..8319a43162df3c47029c1876ffb46fb3f7b7f4ae 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.C
@@ -42,9 +42,6 @@ defineTypeNameAndDebug(boundaryCutter, 0);
 }
 
 
-// * * * * * * * * * * * * * Private Static Functions  * * * * * * * * * * * //
-
-
 // * * * * * * * * * * * * * Private Member Functions  * * * * * * * * * * * //
 
 void Foam::boundaryCutter::getFaceInfo
@@ -874,10 +871,10 @@ void Foam::boundaryCutter::updateMesh(const mapPolyMesh& morphMap)
         forAllConstIters(edgeAddedPoints_, iter)
         {
             const edge& e = iter.key();
+            const labelList& addedPoints = iter.val();
 
-            label newStart = morphMap.reversePointMap()[e.start()];
-
-            label newEnd = morphMap.reversePointMap()[e.end()];
+            const label newStart = morphMap.reversePointMap()[e.start()];
+            const label newEnd = morphMap.reversePointMap()[e.end()];
 
             if (newStart >= 0 && newEnd >= 0)
             {
diff --git a/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.C b/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.C
index b6549c9dcb3a66e9a14927071bc3f9725accdd95..80c9e7c29486400a4ce8e34c011b093485a930d9 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.C
@@ -485,7 +485,7 @@ Foam::face Foam::meshCutAndRemove::addEdgeCutsToFace(const label facei) const
         if (fnd.found())
         {
             // edge has been cut. Introduce new vertex.
-            newFace[newFp++] = fnd.object();
+            newFace[newFp++] = fnd.val();
         }
     }
 
@@ -546,7 +546,7 @@ Foam::face Foam::meshCutAndRemove::loopToFace
 
                     if (fnd.found())
                     {
-                        newFace[newFacei++] = fnd.object();
+                        newFace[newFacei++] = fnd.val();
                     }
                 }
             }
@@ -1307,7 +1307,7 @@ void Foam::meshCutAndRemove::updateMesh(const mapPolyMesh& map)
         forAllConstIters(addedPoints_, iter)
         {
             const edge& e = iter.key();
-            const label addedPointi = iter.object();
+            const label addedPointi = iter.val();
 
             label newStart = map.reversePointMap()[e.start()];
 
diff --git a/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.C b/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.C
index bae27fde251fbae6333f5e36ec3b7d4f4a833315..d9d07ed8f251437a8be937e6f7913aa544459050 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.C
@@ -431,7 +431,7 @@ Foam::face Foam::meshCutter::addEdgeCutsToFace(const label facei) const
         if (fnd.found())
         {
             // edge has been cut. Introduce new vertex.
-            newFace[newFp++] = fnd.object();
+            newFace[newFp++] = fnd.val();
         }
     }
 
@@ -489,7 +489,7 @@ Foam::face Foam::meshCutter::loopToFace
 
                     if (fnd.found())
                     {
-                        newFace[newFacei++] = fnd.object();
+                        newFace[newFacei++] = fnd.val();
                     }
                 }
             }
@@ -1074,7 +1074,7 @@ void Foam::meshCutter::updateMesh(const mapPolyMesh& morphMap)
         forAllConstIters(addedPoints_, iter)
         {
             const edge& e = iter.key();
-            const label addedPointi = iter.object();
+            const label addedPointi = iter.val();
 
             label newStart = morphMap.reversePointMap()[e.start()];
 
diff --git a/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.C b/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.C
index 71623907fde7ea916639400177b0174e958e4248..b982f738ff142e10105f6fbcbe1daccce12466bc 100644
--- a/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.C
+++ b/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.C
@@ -237,12 +237,10 @@ void Foam::undoableMeshCutter::setRefinement
     if (undoable_)
     {
         // Use cells cut in this iteration to update splitCell tree.
-        forAllConstIter(Map<label>, addedCells(), iter)
+        forAllConstIters(addedCells(), iter)
         {
-            label celli = iter.key();
-
-            label addedCelli = iter();
-
+            const label celli = iter.key();
+            const label addedCelli = iter.val();
 
             // Newly created split cell. (celli ->  celli + addedCelli)
 
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
index 0c7f9d570dba54f5e73ec097433e2a87b0020644..80696c0912e567216eb0571a1981aa2d1b0fb60b 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
@@ -1363,7 +1363,7 @@ void Foam::polyTopoChange::calcFaceInflationMaps
         forAllConstIters(faceFromPoint_, iter)
         {
             const label facei = iter.key();
-            const label pointi = iter.object();
+            const label pointi = iter.val();
 
             // Get internal or patch faces using point on old mesh
             const bool internal = (region_[facei] == -1);
@@ -1395,7 +1395,7 @@ void Foam::polyTopoChange::calcFaceInflationMaps
         forAllConstIters(faceFromEdge_, iter)
         {
             const label facei = iter.key();
-            const label edgei = iter.object();
+            const label edgei = iter.val();
 
             // Get internal or patch faces using edge on old mesh
             const bool internal = (region_[facei] == -1);
@@ -1445,7 +1445,7 @@ void Foam::polyTopoChange::calcCellInflationMaps
         forAllConstIters(cellFromPoint_, iter)
         {
             const label celli = iter.key();
-            const label pointi = iter.object();
+            const label pointi = iter.val();
 
             cellsFromPoints[nCellsFromPoints++] = objectMap
             (
@@ -1466,7 +1466,7 @@ void Foam::polyTopoChange::calcCellInflationMaps
         forAllConstIters(cellFromEdge_, iter)
         {
             const label celli = iter.key();
-            const label edgei = iter.object();
+            const label edgei = iter.val();
 
             cellsFromEdges[nCellsFromEdges++] = objectMap
             (
@@ -1489,7 +1489,7 @@ void Foam::polyTopoChange::calcCellInflationMaps
         forAllConstIters(cellFromFace_, iter)
         {
             const label celli = iter.key();
-            const label oldFacei = iter.object();
+            const label oldFacei = iter.val();
 
             if (mesh.isInternalFace(oldFacei))
             {
@@ -1548,7 +1548,7 @@ void Foam::polyTopoChange::resetZones
         forAllConstIters(pointZone_, iter)
         {
             const label pointi = iter.key();
-            const label zonei = iter.object();
+            const label zonei = iter.val();
 
             if (zonei < 0 || zonei >= pointZones.size())
             {
@@ -1572,7 +1572,7 @@ void Foam::polyTopoChange::resetZones
         forAllConstIters(pointZone_, iter)
         {
             const label pointi = iter.key();
-            const label zonei = iter.object();
+            const label zonei = iter.val();
 
             addressing[zonei][nPoints[zonei]++] = pointi;
         }
@@ -1634,7 +1634,7 @@ void Foam::polyTopoChange::resetZones
         forAllConstIters(faceZone_, iter)
         {
             const label facei = iter.key();
-            const label zonei = iter.object();
+            const label zonei = iter.val();
 
             if (zonei < 0 || zonei >= faceZones.size())
             {
@@ -1659,7 +1659,7 @@ void Foam::polyTopoChange::resetZones
         forAllConstIters(faceZone_, iter)
         {
             const label facei = iter.key();
-            const label zonei = iter.object();
+            const label zonei = iter.val();
 
             const label index = nFaces[zonei]++;
 
diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChangeTemplates.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChangeTemplates.C
index 731d0beb018d3d2b1212aabe54e1cd3d25e633d7..1c3f97d0a1c936746d2700ffe259f06432e285dd 100644
--- a/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChangeTemplates.C
+++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChangeTemplates.C
@@ -86,7 +86,7 @@ void Foam::polyTopoChange::renumberKey
 
         if (newKey >= 0)
         {
-            newMap.insert(newKey, iter.object());
+            newMap.insert(newKey, iter.val());
         }
     }
 
diff --git a/src/fileFormats/stl/STLAsciiParseI.H b/src/fileFormats/stl/STLAsciiParseI.H
index 4479ef44e73e7abe60d69ca8d2746511759cf478..b2f5c583291c700b504635f556b387a881e7b610 100644
--- a/src/fileFormats/stl/STLAsciiParseI.H
+++ b/src/fileFormats/stl/STLAsciiParseI.H
@@ -35,10 +35,10 @@ inline void Foam::Detail::STLAsciiParse::beginSolid(word solidName)
     auto iter = nameLookup_.cfind(solidName);
     if (iter.found())
     {
-        if (groupId_ != iter.object())
+        if (groupId_ != iter.val())
         {
             sorted_ = false;  // Group appeared out of order
-            groupId_ = iter.object();
+            groupId_ = iter.val();
         }
     }
     else
diff --git a/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.C b/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.C
index e8b4d8551a9c137d743299d4bf461b558c986a29..62384ee0ab992c68ac61ea24e87eeb06f701d6f2 100644
--- a/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.C
+++ b/src/finiteVolume/cfdTools/general/solutionControl/loopControl/loopControl.C
@@ -106,7 +106,7 @@ bool Foam::loopControl::checkConverged() const
 
     forAllConstIters(meshes, meshIter)
     {
-        const fvMesh& regionMesh = *(meshIter.object());
+        const fvMesh& regionMesh = *(meshIter.val());
 
         const dictionary& solverDict = regionMesh.solverPerformanceDict();
 
diff --git a/src/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C b/src/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C
index b72e13a2aa91904d1b23b40b5164b84562d05fd8..0c598837ae6241fcde966f0f8b098c5871b59e78 100644
--- a/src/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C
+++ b/src/functionObjects/field/nearWallFields/nearWallFieldsTemplates.C
@@ -39,7 +39,7 @@ void Foam::functionObjects::nearWallFields::createFields
 
     forAllConstIters(flds, iter)
     {
-        const VolFieldType& fld = *(iter.object());
+        const VolFieldType& fld = *(iter.val());
 
         if (fieldMap_.found(fld.name()))
         {
diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C
index 83e0d7f9474a928e38f55031ce89b9466329eae1..8c3c1bc232af51a45911430d334afa2ff30ec2c0 100644
--- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C
+++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/LocalInteraction/LocalInteraction.C
@@ -358,7 +358,7 @@ void Foam::LocalInteraction<CloudType>::info(Ostream& os)
         labelList indexToInjector(injIdToIndex_.size());
         forAllConstIters(injIdToIndex_, iter)
         {
-            indexToInjector[iter.object()] = iter.key();
+            indexToInjector[iter.val()] = iter.key();
         }
 
         forAll(patchData_, i)
diff --git a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/StandardWallInteraction/StandardWallInteraction.C b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/StandardWallInteraction/StandardWallInteraction.C
index e8d9ceb220307a2d9aa798bee3c708081cf261db..1d2ad910ad0304b180f1fd72ea032fd894430b60 100644
--- a/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/StandardWallInteraction/StandardWallInteraction.C
+++ b/src/lagrangian/intermediate/submodels/Kinematic/PatchInteractionModel/StandardWallInteraction/StandardWallInteraction.C
@@ -271,7 +271,7 @@ void Foam::StandardWallInteraction<CloudType>::info(Ostream& os)
         labelList indexToInjector(injIdToIndex_.size());
         forAllConstIters(injIdToIndex_, iter)
         {
-            indexToInjector[iter.object()] = iter.key();
+            indexToInjector[iter.val()] = iter.key();
         }
 
         forAll(npe, i)
diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C b/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C
index 97c8708a4a4049fe20d86f7497ddca589399c14f..404042246b252a82594d77f692aa52f007c288eb 100644
--- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C
+++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C
@@ -2696,7 +2696,7 @@ void Foam::meshRefinement::updateMesh
 
             if (newFacei >= 0)
             {
-                newFaceToPatch.insert(newFacei, iter.object());
+                newFaceToPatch.insert(newFacei, iter.val());
             }
         }
         faceToCoupledPatch_.transfer(newFaceToPatch);
diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.C b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.C
index 7d4f171a8d33a55781b8628e619134a47622a2e2..8bd94a084e36f2317f52d24e3c89db14266eab80 100644
--- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.C
+++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.C
@@ -2609,7 +2609,7 @@ void Foam::snappyRefineDriver::addFaceZones
         forAllConstIters(faceZoneToPatches, iter)
         {
             const word& fzName = iter.key();
-            const Pair<word>& patchNames = iter.object();
+            const Pair<word>& patchNames = iter.val();
 
             // Get any user-defined faceZone data
             surfaceZonesInfo::faceZoneType fzType;
diff --git a/src/meshTools/regionSplit/regionSplit.C b/src/meshTools/regionSplit/regionSplit.C
index 47056b2092ae97f8808c7ecc98e80640de6f6414..c35d7ec1576cf54f8163be39e12cfd178645b21f 100644
--- a/src/meshTools/regionSplit/regionSplit.C
+++ b/src/meshTools/regionSplit/regionSplit.C
@@ -660,7 +660,7 @@ Foam::autoPtr<Foam::globalIndex> Foam::regionSplit::reduceRegions
 
         forAllConstIters(localToGlobal, iter)
         {
-            const label regioni = iter.object();
+            const label regioni = iter.val();
 
             if (globalRegions.isLocal(regioni))
             {
@@ -706,7 +706,7 @@ Foam::autoPtr<Foam::globalIndex> Foam::regionSplit::reduceRegions
 
         forAllConstIters(localToGlobal, iter)
         {
-            const label regioni = iter.object();
+            const label regioni = iter.val();
 
             if (globalRegions.isLocal(regioni))
             {
diff --git a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C
index 03e36f1ed407e6881595c914a2ae38efa3159c1e..2ffe223fcfa23d252f502d4d145c41679dd29b40 100644
--- a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C
+++ b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C
@@ -219,7 +219,7 @@ bool Foam::triSurfaceMesh::isSurfaceClosed() const
         // Check for any edges used only once.
         forAllConstIters(facesPerEdge, iter)
         {
-            if (iter.object() != 2)
+            if (iter.val() != 2)
             {
                 return false;
             }
diff --git a/src/meshTools/sets/cellSources/faceToCell/faceToCell.C b/src/meshTools/sets/cellSources/faceToCell/faceToCell.C
index d423639a2f19d960672d812721c73cce949f813f..d5dbecce9fe685da6ffa1c07c38ec1913b81234e 100644
--- a/src/meshTools/sets/cellSources/faceToCell/faceToCell.C
+++ b/src/meshTools/sets/cellSources/faceToCell/faceToCell.C
@@ -120,7 +120,7 @@ void Foam::faceToCell::combine
         forAllConstIters(facesPerCell, iter)
         {
             const label celli = iter.key();
-            const label count = iter.object();
+            const label count = iter.val();
 
             if (count == mesh_.cells()[celli].size())
             {
diff --git a/src/meshTools/sets/faceSources/pointToFace/pointToFace.C b/src/meshTools/sets/faceSources/pointToFace/pointToFace.C
index f3fe6f9e970e4ad56d4291f6608174b1513752f1..2cfa498e7f346473457aad4751b704380d12757f 100644
--- a/src/meshTools/sets/faceSources/pointToFace/pointToFace.C
+++ b/src/meshTools/sets/faceSources/pointToFace/pointToFace.C
@@ -126,7 +126,7 @@ void Foam::pointToFace::combine
         forAllConstIters(numPoints, iter)
         {
             const label facei = iter.key();
-            const label count = iter.object();
+            const label count = iter.val();
 
             if (count == mesh_.faces()[facei].size())
             {
diff --git a/src/meshTools/triSurface/booleanOps/intersectedSurface/edgeSurface.C b/src/meshTools/triSurface/booleanOps/intersectedSurface/edgeSurface.C
index 00fbac4214a56618809026d3708c2f440643b804..a155c9cebbd0b544bd169bc0e1e6ca4cc10901c9 100644
--- a/src/meshTools/triSurface/booleanOps/intersectedSurface/edgeSurface.C
+++ b/src/meshTools/triSurface/booleanOps/intersectedSurface/edgeSurface.C
@@ -247,7 +247,7 @@ Foam::edgeSurface::edgeSurface
         const label facei = iter.key()[isFirstSurface ? 0 : 1];
 
         // Edge label in intersection
-        const label edgeI = iter.object();
+        const label edgeI = iter.val();
 
         // Store on face-edge addressing. (note: offset edge)
         allFaceEdges[facei].append(edgeI + nSurfaceEdges_);
diff --git a/src/meshTools/triSurface/booleanOps/surfaceIntersection/surfaceIntersection.C b/src/meshTools/triSurface/booleanOps/surfaceIntersection/surfaceIntersection.C
index 8eb4827f684ace5b2f39a6bcaa363a54e63fe33e..356b473f64d48f0e6fdcae7dd52933eb62413bc3 100644
--- a/src/meshTools/triSurface/booleanOps/surfaceIntersection/surfaceIntersection.C
+++ b/src/meshTools/triSurface/booleanOps/surfaceIntersection/surfaceIntersection.C
@@ -982,7 +982,7 @@ void Foam::surfaceIntersection::joinDisconnected
     forAllConstIters(facePairToEdge_, iter)
     {
         const labelPair& twoFaces = iter.key();
-        const edge& e = iter.object();
+        const edge& e = iter.val();
 
         if (e.count() == 1)
         {
@@ -1012,7 +1012,7 @@ void Foam::surfaceIntersection::joinDisconnected
 
         forAllConstIters(mapping, iter)
         {
-            const auto& connect = iter.object();
+            const auto& connect = iter.val();
 
             if (connect.size() == 2)
             {
@@ -1553,7 +1553,7 @@ void Foam::surfaceIntersection::mergeEdges()
     //     // Additional safety, in case the edge was replaced?
     //     forAllIters(facePairToEdge_, iter)
     //     {
-    //         iter.object() = edgeNumbering[iter.object()];
+    //         iter.val() = edgeNumbering[iter.val()];
     //     }
     // }
 
diff --git a/src/regionModels/regionModel/regionProperties/regionProperties.C b/src/regionModels/regionModel/regionProperties/regionProperties.C
index 6d91d2bf341fcf8021faf0a2d5ab530413ff5da5..23edbd1e9cf519081d9bce0363725b9b7320d36f 100644
--- a/src/regionModels/regionModel/regionProperties/regionProperties.C
+++ b/src/regionModels/regionModel/regionProperties/regionProperties.C
@@ -76,7 +76,7 @@ Foam::label Foam::regionProperties::count() const
 
     forAllConstIters(props, iter)
     {
-        n += iter.object().size();
+        n += iter.val().size();
     }
 
     return n;
@@ -114,7 +114,7 @@ Foam::wordList Foam::regionProperties::sortedNames() const
 
     forAllConstIters(props, iter)
     {
-        for (const word& name : iter.object())
+        for (const word& name : iter.val())
         {
             list[n] = name;
             ++n;
diff --git a/src/sampling/meshToMesh/meshToMesh.C b/src/sampling/meshToMesh/meshToMesh.C
index f240c98d0c475679415c4a2608030859d2e52605..bae74315311c0a501a7b45a2bba09e2c1c91e9ae 100644
--- a/src/sampling/meshToMesh/meshToMesh.C
+++ b/src/sampling/meshToMesh/meshToMesh.C
@@ -800,7 +800,7 @@ void Foam::meshToMesh::constructFromCuttingPatches
     forAllConstIters(patchMap, iter)
     {
         const word& tgtPatchName = iter.key();
-        const word& srcPatchName = iter.object();
+        const word& srcPatchName = iter.val();
 
         const polyPatch& srcPatch = srcBm[srcPatchName];
 
diff --git a/src/sampling/probes/probesGrouping.C b/src/sampling/probes/probesGrouping.C
index 946cc93d30450d18326407f587ac0695b7c6de06..2ee7976773be3cd45c6c2314b5a59dcfaa0e612d 100644
--- a/src/sampling/probes/probesGrouping.C
+++ b/src/sampling/probes/probesGrouping.C
@@ -62,7 +62,7 @@ Foam::label Foam::probes::classifyFields()
     forAllConstIters(available, iter)
     {
         const word& fieldType = iter.key();
-        const wordList fieldNames = iter.object().sortedToc();
+        const wordList fieldNames = iter.val().sortedToc();
 
         const label count = fieldNames.size(); // pre-filtered, so non-empty
 
diff --git a/src/sampling/sampledSet/sampledSets/sampledSetsGrouping.C b/src/sampling/sampledSet/sampledSets/sampledSetsGrouping.C
index 4d57af3ebeedba025984cae070dd916a63ea3c88..95bbb39107b1e16ea706328cdbb89a5b39e11abf 100644
--- a/src/sampling/sampledSet/sampledSets/sampledSetsGrouping.C
+++ b/src/sampling/sampledSet/sampledSets/sampledSetsGrouping.C
@@ -88,7 +88,7 @@ Foam::label Foam::sampledSets::classifyFields()
     forAllConstIters(available, iter)
     {
         const word& fieldType = iter.key();
-        const wordList fieldNames = iter.object().sortedToc();
+        const wordList fieldNames = iter.val().sortedToc();
 
         const label count = fieldNames.size(); // pre-filtered, so non-empty
 
diff --git a/src/sampling/sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C b/src/sampling/sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C
index 233bb65e1046e7e6671ba28e9bb170ed78c88e8e..2190dbecc2600f41aa50c066193481612e3bdf9b 100644
--- a/src/sampling/sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C
+++ b/src/sampling/sampledSurface/sampledSurfaces/sampledSurfacesGrouping.C
@@ -77,7 +77,7 @@ Foam::label Foam::sampledSurfaces::classifyFields()
     // Total number selected
     forAllConstIters(available, iter)
     {
-        nFields += iter.object().size();
+        nFields += iter.val().size();
     }
 
     return nFields;
diff --git a/src/sampling/surface/cutting/cuttingSurfaceBaseTemplates.C b/src/sampling/surface/cutting/cuttingSurfaceBaseTemplates.C
index 9249d6f7dc33a5b31f5b623413f321c00f8ac35c..ed5bc803147ccc8384365a2c55fabd1737080152 100644
--- a/src/sampling/surface/cutting/cuttingSurfaceBaseTemplates.C
+++ b/src/sampling/surface/cutting/cuttingSurfaceBaseTemplates.C
@@ -257,7 +257,7 @@ void Foam::cuttingSurfaceBase::walkCellCuts
         // they can also be used to determine the correct face orientation.
 
         const edge refEdge = localFaces.begin().key();
-        label nextFace = localFaces.begin().object()[0];
+        label nextFace = localFaces.begin().val()[0];
 
         DebugInfo
             << "search face " <<  nextFace << " IN " <<  localEdges << endl;
@@ -274,23 +274,23 @@ void Foam::cuttingSurfaceBase::walkCellCuts
             forAllIters(localFaces, iter)
             {
                 DebugInfo
-                    << "lookup " << nextFace << " in " << iter.object() << nl;
+                    << "lookup " << nextFace << " in " << iter.val() << nl;
 
                 // Find local index (0,1) or -1 on failure
-                const label got = iter.object().which(nextFace);
+                const label got = iter.val().which(nextFace);
 
                 if (got != -1)
                 {
                     ok = true;
 
                     // The other face
-                    nextFace = iter.object()[(got?0:1)];
+                    nextFace = iter.val()[(got?0:1)];
 
                     // The edge -> cut point
                     localFaceLoop.append(localEdges[iter.key()]);
 
                     DebugInfo
-                        <<" faces " << iter.object()
+                        <<" faces " << iter.val()
                         << " point " << localFaceLoop.last()
                         << " edge=" << iter.key() << " nextFace=" << nextFace
                         << nl;
diff --git a/src/sampling/surface/isoSurface/isoSurfaceCell.C b/src/sampling/surface/isoSurface/isoSurfaceCell.C
index f34a43a9c0ed2e80f4cd0df2a68a3ce977cb98a8..95bc6d62003d3f316029b11093702bfbd9394336 100644
--- a/src/sampling/surface/isoSurface/isoSurfaceCell.C
+++ b/src/sampling/surface/isoSurface/isoSurfaceCell.C
@@ -1185,7 +1185,7 @@ Foam::label Foam::isoSurfaceCell::markDanglingTriangles
         // with only one connected edge (= this edge)
 
         const label edgeI = iter.key();
-        const labelList& otherEdgeFaces = iter.object();
+        const labelList& otherEdgeFaces = iter.val();
 
         // Remove all dangling triangles
         if (danglingTriangle(faceEdges[edgeFace0[edgeI]], edgeFace1))
diff --git a/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.C b/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.C
index fcd7e1c3be515df3ec64e427646cabdb8f551e4d..8c2783a9b61f9fca5eea65d4a5ba2fdda1d15c52 100644
--- a/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.C
+++ b/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.C
@@ -386,7 +386,7 @@ bool Foam::fileFormats::NASsurfaceFormat<Face>::read
     forAllConstIters(zoneLookup, iter)
     {
         const label groupId = iter.key();
-        const label zoneId  = iter.object();
+        const label zoneId  = iter.val();
 
         const auto iterName = nameLookup.cfind(groupId);
         if (iterName.found())
diff --git a/src/surfMesh/surfaceFormats/tri/TRIReader.C b/src/surfMesh/surfaceFormats/tri/TRIReader.C
index 2c0b926f918fd430211c56581c29181c512ae2e4..95a244f740f825d24cfaa8db2a01fbec97bf9a93 100644
--- a/src/surfMesh/surfaceFormats/tri/TRIReader.C
+++ b/src/surfMesh/surfaceFormats/tri/TRIReader.C
@@ -114,10 +114,10 @@ bool Foam::fileFormats::TRIReader::readFile(const fileName& filename)
         const auto iter = lookup.cfind(name);
         if (iter.found())
         {
-            if (zoneI != iter.object())
+            if (zoneI != iter.val())
             {
                 sorted_ = false; // Group appeared out of order
-                zoneI = iter.object();
+                zoneI = iter.val();
             }
         }
         else
diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C
index a5dc91ff2eb56d248f241f3fed0e43282a6ae10e..c00f149fbcc49734c4f3c10ccee3a36ab5a07cfc 100644
--- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C
+++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C
@@ -123,7 +123,7 @@ Foam::radiation::greyMeanAbsorptionEmission::greyMeanAbsorptionEmission
     forAllConstIters(speciesNames_, iter)
     {
         const word& specieName = iter.key();
-        const label index = iter.object();
+        const label index = iter.val();
 
         volScalarField* fldPtr = mesh.getObjectPtr<volScalarField>(specieName);
 
diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C
index e8b2f17a7099f32a0446fa16461aa8a3a4931129..6717674e6140b3df6f8e4e453715c1d089e826f3 100644
--- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C
+++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C
@@ -134,7 +134,7 @@ Foam::radiation::wideBandAbsorptionEmission::wideBandAbsorptionEmission
     forAllConstIters(speciesNames_, iter)
     {
         const word& specieName = iter.key();
-        const label index = iter.object();
+        const label index = iter.val();
 
         volScalarField* fldPtr = mesh.getObjectPtr<volScalarField>(specieName);