diff --git a/python/dune/perftool/loopy/vcl.py b/python/dune/perftool/loopy/vcl.py
index c7c1ffd40773caf2b094e9e679c7ec14a192eefc..143d9b6c0a0ef84f76a9fe39c3024ca4cec041b5 100644
--- a/python/dune/perftool/loopy/vcl.py
+++ b/python/dune/perftool/loopy/vcl.py
@@ -95,4 +95,4 @@ def vcl_function_mangler(knl, func, arg_dtypes):
     if func == "horizontal_add":
         dtype = arg_dtypes[0]
         vcl = lp.types.NumpyType(get_vcl_type(dtype))
-        return lp.CallMangleInfo("horizontal_add", (lp.types.NumpyType(dtype),), (vcl,))
+        return lp.CallMangleInfo("horizontal_add", (lp.types.NumpyType(dtype.dtype),), (vcl,))
diff --git a/python/dune/perftool/pdelab/driver/__init__.py b/python/dune/perftool/pdelab/driver/__init__.py
index 5471ce7525e9801184797cdb70a7a95d185ea8ea..eb8527441fa60da1cb30c44748d745c3bb91809b 100644
--- a/python/dune/perftool/pdelab/driver/__init__.py
+++ b/python/dune/perftool/pdelab/driver/__init__.py
@@ -15,6 +15,7 @@ from dune.perftool.generation import (generator_factory,
                                       global_context,
                                       include_file,
                                       cached,
+                                      pre_include,
                                       preamble,
                                       )
 from dune.perftool.options import get_option
diff --git a/python/dune/perftool/sumfact/tabulation.py b/python/dune/perftool/sumfact/tabulation.py
index 836cfab3e09074231eaec15c2023df85e774eead..cbe8fbbc374c6ada8e3c63a1a81adb5a3c742ac6 100644
--- a/python/dune/perftool/sumfact/tabulation.py
+++ b/python/dune/perftool/sumfact/tabulation.py
@@ -399,7 +399,7 @@ class PolynomialLookup(FunctionIdentifier):
 def polynomial_lookup_mangler(target, func, dtypes):
     if isinstance(func, PolynomialLookup):
         dtype = dtype_floatingpoint()
-        return CallMangleInfo(func.name, (dtype,), (NumpyType(np.int32), NumpyType(dtype)))
+        return CallMangleInfo(func.name, (NumpyType(dtype),), (NumpyType(np.int32), NumpyType(dtype)))
 
 
 def define_theta(name, tabmat, additional_indices=(), width=None):