diff --git a/swig/tokenwriter.i b/swig/tokenwriter.i
index 829fdbec54dd99387e00dfc16d453463a6476d89..bb55c1adfd372f89b4b995e1060387afe2040988 100644
--- a/swig/tokenwriter.i
+++ b/swig/tokenwriter.i
@@ -37,7 +37,15 @@ namespace Corpus2 {
     // std::ostream& os();
     const Tagset& tagset();
     void finish();
-    
+
+    /* --------------------------------------------------------------------- */
+    const Tagset& tagset() const;
+    static std::vector<std::string> available_writer_types();
+
+    /* --------------------------------------------------------------------- */
+    static std::string writer_help(const std::string& class_id);
+    static std::vector<std::string> available_writer_types_help();
+
     /* --------------------------------------------------------------------- */
     %exception {
       try {