diff --git a/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H b/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H
index 08c49464a8d56ebea8946af88736373f24a95501..1d68414d7cc0cef70ae915b5e4bd45ce812718d6 100644
--- a/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H
+++ b/src/OpenFOAM/db/IOstreams/IOstreams/Istream.H
@@ -77,7 +77,7 @@ protected:
     // Protected Member Functions
 
         //- True if putback token is in use
-        inline bool hasPutback() const noexcept
+        bool hasPutback() const noexcept
         {
             return putBackAvail_;
         }
diff --git a/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.C b/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.C
index edf26e7c4358ac9cf9e6e9e058bfb8b2de4f2d1e..124fdb63966daeed8161c4fa121c85881f414331 100644
--- a/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.C
+++ b/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.C
@@ -31,34 +31,31 @@ License
 #include "StringStream.H"
 #include "UIListStream.H"
 
-
 // * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
 
-namespace
+namespace Foam
 {
 
 // Failsafe read-access.
 // Return the token at location, or undefinedToken.
-inline static const Foam::token& peekTokenAt
+inline static const token& peekTokenAt
 (
-    const Foam::UList<Foam::token>& list,
-    const Foam::label i
+    const UList<token>& list,
+    const label i
 )
 {
     return
     (
         i >= 0 && i < list.size()
       ? list[i]
-      : Foam::token::undefinedToken
+      : token::undefinedToken
     );
 }
 
-} // End anonymous namespace
-
-
-// * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * //
 
-Foam::label Foam::ITstream::parseStream(ISstream& is, tokenList& tokens)
+// Convert input sequence into a list of tokens.
+// Return the number of tokens in the resulting list.
+static label parseStream(ISstream& is, tokenList& tokens)
 {
     label nTok = 0;
 
@@ -76,6 +73,10 @@ Foam::label Foam::ITstream::parseStream(ISstream& is, tokenList& tokens)
     return nTok;
 }
 
+} // End namespace Foam
+
+
+// * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * //
 
 Foam::tokenList Foam::ITstream::parse
 (
diff --git a/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.H b/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.H
index dd3e4f0722069ab2e54a5ed7c7a8f025cfc84193..e23f5b92714187fdad0193b26218fd67fcbe3a49 100644
--- a/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.H
+++ b/src/OpenFOAM/db/IOstreams/Tstreams/ITstream.H
@@ -46,9 +46,6 @@ SourceFiles
 namespace Foam
 {
 
-// Forward Declarations
-class ISstream;
-
 /*---------------------------------------------------------------------------*\
                            Class ITstream Declaration
 \*---------------------------------------------------------------------------*/
@@ -69,10 +66,6 @@ class ITstream
 
     // Private Member Functions
 
-        //- Convert input sequence into a list of tokens.
-        //  \return the number of tokens in the resulting list.
-        static label parseStream(ISstream& input, tokenList& tokens);
-
         //- An ad hoc combination of reserve and setCapacity somewhat
         //- similar to DynamicList.
         //
@@ -187,6 +180,12 @@ public:
 
     // Token Access
 
+        //- True if putback token is in use
+        bool hasPutback() const noexcept
+        {
+            return Istream::hasPutback();
+        }
+
         //- Failsafe peek at the \b first token in the list.
         //  \return \c undefinedToken if the list is empty.
         const token& peekFirst() const;