Everything in our .hh files is defined within the namespace Dumux. There were numerous occurrences of Dumux:: qualifiers that were unnecessary. Remove those occurrences. Necessary qualifications remain, such as typedef Dumux::H2O<Scalar> H2O;.
Dumux
Dumux::
typedef Dumux::H2O<Scalar> H2O;