diff --git a/scripting/maestro-py.i b/scripting/maestro-py.i
index 2cf7c302e3dc8d32f0e8f9bfe34a21e017474afa..a2187af4d679d4a285d633a8578c7b32235de606 100644
--- a/scripting/maestro-py.i
+++ b/scripting/maestro-py.i
@@ -1,4 +1,8 @@
 %module maestro
+%include "typemaps.i"
+%include "stdint.i"
+%include "cpointer.i"
+
 %{
 #define SWIG_FILE_WITH_INIT
   #include "maestro.h"
@@ -16,7 +20,6 @@
   #include "maestro/status.h"
 %}
 
-%include "stdint.i"
 
 %include "maestro.h"
 %include "maestro/attributes.h"