+%template(ConfigSet)
+ std::set<const sigrok::ConfigKey *>;
+
+/* Workaround for SWIG bug. The vector template instantiation
+ isn't needed but somehow fixes a bug that stops the wrapper
+ for the set instantiation from compiling. */
+%template(CapabilityVector)
+ std::vector<const sigrok::Capability *>;
+
+%template(CapabilitySet)
+ std::set<const sigrok::Capability *>;
+