diff --git a/swig/libcclmatchrulesequence.i b/swig/libcclmatchrulesequence.i
index 4080e8dc477d89818a1a322416086ee7b301b278..590bd907df27b48518fa7a5bde173691b3d52d0f 100644
--- a/swig/libcclmatchrulesequence.i
+++ b/swig/libcclmatchrulesequence.i
@@ -24,12 +24,12 @@ namespace Wccl {
 
     /* --------------------------------------------------------------------- */
 
-    %rename(OpFunMatchRuleSequence) operator()(const boost::shared_ptr<Corpus2::AnnotatedSentence>& sentence);
-    void operator()(const boost::shared_ptr<Corpus2::AnnotatedSentence>& sentence);
+    %rename(OpFunMatchRuleSequence) operator()(const shared_ptr<Corpus2::AnnotatedSentence>& sentence);
+    void operator()(const shared_ptr<Corpus2::AnnotatedSentence>& sentence);
 
     /* --------------------------------------------------------------------- */
 
-    void apply_all(const boost::shared_ptr<Corpus2::AnnotatedSentence>& sentence);
+    void apply_all(const shared_ptr<Corpus2::AnnotatedSentence>& sentence);
 
     /* --------------------------------------------------------------------- */