[gobject-introspection] doctool: update tests



commit 503c6e1c415e478de3f59187316a954970b01dce
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Tue Feb 25 19:16:32 2014 +0100

    doctool: update tests

 .../Regress.AnAnonymousUnion.None-a.page           |   14 ----
 .../Regress.AnAnonymousUnion.None-padding.page     |   14 ----
 .../Regress.AnnotationObject.allow_none.page       |    2 +-
 .../Regress.AnnotationObject.calleeowns.page       |    4 +-
 .../Regress.AnnotationObject.calleesowns.page      |    6 +-
 .../Regress.AnnotationObject.compute_sum.page      |    2 +-
 .../Regress.AnnotationObject.compute_sum_n.page    |    2 +-
 .../Regress.AnnotationObject.create_object.page    |    2 +-
 .../Regress.AnnotationObject.do_not_use.page       |    2 +-
 .../Regress.AnnotationObject.get_hash.page         |    2 +-
 .../Regress.AnnotationObject.get_objects.page      |    2 +-
 .../Regress.AnnotationObject.get_strings.page      |    2 +-
 .../Regress.AnnotationObject.in.page               |    2 +-
 .../Regress.AnnotationObject.inout.page            |    2 +-
 .../Regress.AnnotationObject.inout2.page           |    2 +-
 .../Regress.AnnotationObject.inout3.page           |    2 +-
 .../Regress.AnnotationObject.method.page           |    2 +-
 .../Regress.AnnotationObject.notrans.page          |    2 +-
 .../Regress.AnnotationObject.out.page              |    2 +-
 .../Regress.AnnotationObject.use_buffer.page       |    2 +-
 .../Regress.AnnotationObject.watch.page            |   22 +++++--
 .../Regress.AnnotationObject.watch_full.page       |   65 --------------------
 ...Union.None.page => Regress.FooBufferClass.page} |    4 +-
 .../Regress.FooEnumType.method.page                |    2 +-
 .../Regress.FooEnumType.returnv.page               |    2 +-
 .../Regress.FooError.quark.page                    |    2 +-
 ....None.page => Regress.FooOtherObjectClass.page} |    4 +-
 ...ion.None.page => Regress.FooStructPrivate.page} |    4 +-
 ...nonymousUnion.None.page => Regress.Intset.page} |    6 +-
 .../Regress.TestABCError.quark.page                |    2 +-
 ...ion.None.page => Regress.TestBoxedPrivate.page} |    4 +-
 .../Regress.TestEnum.param.page                    |    2 +-
 .../Regress.TestError.quark.page                   |    2 +-
 .../Regress.TestOtherError.quark.page              |    2 +-
 .../Regress.test_boxeds_not_a_method.page          |   38 +++++++++++
 .../Regress.test_boxeds_not_a_static.page          |   30 +++++++++
 .../Regress.ATestError.page                        |    8 ++-
 .../Regress.AnnotationFields-arr.page              |    2 +-
 .../Regress.AnnotationObject.allow_none.page       |    2 +-
 .../Regress.AnnotationObject.calleeowns.page       |    4 +-
 .../Regress.AnnotationObject.calleesowns.page      |    6 +-
 .../Regress.AnnotationObject.create_object.page    |    2 +-
 .../Regress.AnnotationObject.do_not_use.page       |    2 +-
 .../Regress.AnnotationObject.get_hash.page         |    2 +-
 .../Regress.AnnotationObject.notrans.page          |    2 +-
 .../Regress.AnnotationObject.set_data.page         |    4 +-
 .../Regress.AnnotationObject.set_data2.page        |    4 +-
 .../Regress.AnnotationObject.set_data3.page        |    4 +-
 ...ll.page => Regress.AnnotationObject.watch.page} |    6 +-
 .../Regress.FooASingle.page                        |    8 ++-
 .../Regress.FooAddressType.page                    |    8 ++-
 .../Regress.FooBRect.new.page                      |   48 ++++++++++++++
 .../Regress.FooBUnion.new.page                     |   32 ++++++++++
 .../Regress.FooBoxed.new.page                      |   32 ++++++++++
 .../Regress.FooEnumFullname.page                   |    8 ++-
 .../Regress.FooEnumNoType.page                     |    8 ++-
 .../Regress.FooEnumType.method.page                |    4 +-
 .../Regress.FooEnumType.page                       |    8 ++-
 .../Regress.FooEnumType.returnv.page               |    4 +-
 .../Regress-1.0-Gjs-expected/Regress.FooError.page |    8 ++-
 .../Regress.FooError.quark.page                    |    6 +-
 .../Regress.FooForeignStruct.new.page              |   32 ++++++++++
 .../Regress.FooObject-signal.page                  |    2 +-
 .../Regress.FooObject.a_global_method.page         |    2 +-
 .../Regress.FooObject.external_type.page           |    2 +-
 .../Regress.FooObject.handle_glyph.page            |    2 +-
 .../Regress.FooObject.new.page                     |   32 ++++++++++
 .../Regress.FooObject.new_as_super.page            |   32 ++++++++++
 .../Regress.FooStackLayer.page                     |    8 ++-
 .../Regress.FooSubInterface-do_baz.page            |    2 +-
 .../Regress.FooSubInterface.do_baz.page            |    2 +-
 .../Regress.FooSubobject.new.page                  |   32 ++++++++++
 .../Regress.FooUtilityStruct-bar.page              |    2 +-
 .../Regress.TestABCError.page                      |    8 ++-
 .../Regress.TestABCError.quark.page                |    6 +-
 .../Regress.TestBoxed.new.page                     |   32 ++++++++++
 .../Regress.TestBoxedB.new.page                    |   48 ++++++++++++++
 .../Regress.TestBoxedC.new.page                    |   32 ++++++++++
 .../Regress.TestBoxedD.new.page                    |   48 ++++++++++++++
 .../Regress.TestBoxedD.page                        |    2 +-
 .../Regress.TestCallbackGError.page                |    2 +-
 .../Regress.TestCallbackOwnedGError.page           |    2 +-
 .../Regress.TestDEFError.page                      |    8 ++-
 .../Regress-1.0-Gjs-expected/Regress.TestEnum.page |    8 ++-
 .../Regress.TestEnum.param.page                    |    4 +-
 .../Regress.TestEnumNoGEnum.page                   |    8 ++-
 .../Regress.TestEnumUnsigned.page                  |    8 ++-
 .../Regress.TestError.page                         |    8 ++-
 .../Regress.TestError.quark.page                   |    6 +-
 .../Regress.TestFloating.new.page                  |   32 ++++++++++
 .../Regress.TestFundamentalObject-copy.page        |   25 ++++++++
 .../Regress.TestFundamentalObject-finalize.page    |   21 ++++++
 .../Regress.TestFundamentalObject.page}            |   31 +++++++--
 .../Regress.TestFundamentalObject.ref.page         |   32 ++++++++++
 .../Regress.TestFundamentalObject.unref.page       |   26 ++++++++
 .../Regress.TestFundamentalSubObject.new.page      |   42 +++++++++++++
 .../Regress.TestFundamentalSubObject.page}         |   34 ++++++++--
 .../Regress.TestObj-bare.page                      |    2 +-
 .../Regress.TestObj-sig-with-foreign-struct.page   |    2 +-
 .../Regress.TestObj-sig-with-hash-prop.page        |    2 +-
 .../Regress.TestObj-sig-with-obj.page              |    2 +-
 .../Regress.TestObj.constructor.page               |   32 ++++++++++
 .../Regress.TestObj.new.page                       |   40 ++++++++++++
 .../Regress.TestObj.new_callback.page              |   40 ++++++++++++
 .../Regress.TestObj.new_from_file.page             |   40 ++++++++++++
 .../Regress.TestObj.set_bare.page                  |    2 +-
 .../Regress.TestOtherError.page                    |    8 ++-
 .../Regress.TestOtherError.quark.page              |    6 +-
 .../Regress.TestReferenceEnum.page                 |    8 ++-
 .../Regress.TestStructC-obj.page                   |    2 +-
 .../Regress.TestSubObj.new.page                    |   32 ++++++++++
 .../Regress.TestWi8021x.new.page                   |   32 ++++++++++
 .../Regress.annotation_ptr_array.page              |    2 +-
 .../Regress.annotation_test_parsing_bug630862.page |    2 +-
 .../Regress.annotation_transfer_floating.page      |    2 +-
 .../Regress.atest_error_quark.page                 |    2 +-
 .../Regress.foo_async_ready_callback.page          |    2 +-
 .../Regress.foo_method_external_references.page    |    2 +-
 .../Regress.test_array_gint8_in.page               |    4 +-
 .../Regress.test_async_ready_callback.page         |    2 +-
 .../Regress.test_boxeds_not_a_method.page          |   36 +++++++++++
 .../Regress.test_boxeds_not_a_static.page          |   26 ++++++++
 .../Regress.test_cairo_context_full_return.page    |    2 +-
 .../Regress.test_cairo_context_none_in.page        |    2 +-
 .../Regress.test_cairo_surface_full_out.page       |    2 +-
 .../Regress.test_cairo_surface_full_return.page    |    2 +-
 .../Regress.test_cairo_surface_none_in.page        |    2 +-
 .../Regress.test_cairo_surface_none_return.page    |    2 +-
 .../Regress.test_closure.page                      |    2 +-
 .../Regress.test_closure_one_arg.page              |    2 +-
 .../Regress.test_closure_variant.page              |    2 +-
 .../Regress.test_date_in_gvalue.page               |    2 +-
 .../Regress.test_def_error_quark.page              |    2 +-
 .../Regress.test_ghash_gvalue_in.page              |    2 +-
 .../Regress.test_ghash_gvalue_return.page          |    2 +-
 .../Regress.test_gvariant_as.page                  |    2 +-
 .../Regress.test_gvariant_asv.page                 |    2 +-
 .../Regress.test_gvariant_i.page                   |    2 +-
 .../Regress.test_gvariant_s.page                   |    2 +-
 .../Regress.test_gvariant_v.page                   |    2 +-
 .../Regress.test_int_value_arg.page                |    2 +-
 .../Regress.test_strv_in_gvalue.page               |    2 +-
 .../Regress.test_value_return.page                 |    2 +-
 .../Regress.AnAnonymousUnion.None-a.page           |   14 ----
 .../Regress.AnAnonymousUnion.None-padding.page     |   14 ----
 .../Regress.AnnotationObject.allow_none.page       |    2 +-
 .../Regress.AnnotationObject.calleeowns.page       |    4 +-
 .../Regress.AnnotationObject.calleesowns.page      |    6 +-
 .../Regress.AnnotationObject.compute_sum.page      |    2 +-
 .../Regress.AnnotationObject.compute_sum_n.page    |    2 +-
 .../Regress.AnnotationObject.create_object.page    |    2 +-
 .../Regress.AnnotationObject.do_not_use.page       |    2 +-
 .../Regress.AnnotationObject.get_hash.page         |    2 +-
 .../Regress.AnnotationObject.get_objects.page      |    2 +-
 .../Regress.AnnotationObject.get_strings.page      |    2 +-
 .../Regress.AnnotationObject.in.page               |    2 +-
 .../Regress.AnnotationObject.inout.page            |    2 +-
 .../Regress.AnnotationObject.inout2.page           |    2 +-
 .../Regress.AnnotationObject.inout3.page           |    2 +-
 .../Regress.AnnotationObject.method.page           |    2 +-
 .../Regress.AnnotationObject.notrans.page          |    2 +-
 .../Regress.AnnotationObject.out.page              |    2 +-
 .../Regress.AnnotationObject.use_buffer.page       |    2 +-
 ...ll.page => Regress.AnnotationObject.watch.page} |    2 +-
 .../Regress.FooEnumType.method.page                |    4 +-
 .../Regress.FooEnumType.returnv.page               |    4 +-
 .../Regress.FooError.quark.page                    |    4 +-
 ...ion.None.page => Regress.FooStructPrivate.page} |    6 +-
 ...nonymousUnion.None.page => Regress.Intset.page} |    8 +-
 .../Regress.TestABCError.quark.page                |    4 +-
 ...ion.None.page => Regress.TestBoxedPrivate.page} |    6 +-
 .../Regress.TestEnum.param.page                    |    4 +-
 .../Regress.TestError.quark.page                   |    4 +-
 .../Regress.TestOtherError.quark.page              |    4 +-
 .../Regress.test_boxeds_not_a_method.page          |   37 +++++++++++
 .../Regress.test_boxeds_not_a_static.page          |   28 +++++++++
 tests/scanner/Regress-1.0-sections-expected.txt    |    2 +
 177 files changed, 1322 insertions(+), 343 deletions(-)
---
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.allow_none.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.allow_none.page
index eb2f134..8fac991 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.allow_none.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.allow_none.page
@@ -32,7 +32,7 @@ GObject* regress_annotation_object_allow_none (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>somearg</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleeowns.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleeowns.page
index 7cafa4d..f8b9393 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleeowns.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleeowns.page
@@ -32,11 +32,11 @@ gint regress_annotation_object_calleeowns (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page
index 6e5fdcc..36d6b60 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.calleesowns.page
@@ -37,15 +37,15 @@ gint regress_annotation_object_calleesowns (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown1</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown2</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page
index 106fdb9..38a7d66 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum.page
@@ -32,7 +32,7 @@ void regress_annotation_object_compute_sum (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>nums</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page
index cde8be6..38c0bcb 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.compute_sum_n.page
@@ -37,7 +37,7 @@ void regress_annotation_object_compute_sum_n (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>nums</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page
index d7e9b9e..e485b87 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.create_object.page
@@ -27,7 +27,7 @@ GObject* regress_annotation_object_create_object (RegressAnnotationObject* objec
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page
index ca15903..a70e335 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.do_not_use.page
@@ -27,7 +27,7 @@ GObject* regress_annotation_object_do_not_use (RegressAnnotationObject* object);
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page
index fa9f22d..514b23d 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_hash.page
@@ -28,7 +28,7 @@ objects.</p>
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page
index 628c814..e01d092 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_objects.page
@@ -29,7 +29,7 @@ intentionally similar example to gtk_container_get_children</p>
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page
index c1911c9..739a119 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.get_strings.page
@@ -28,7 +28,7 @@ each string needs to be freed.</p>
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page
index e871ff5..a741e9a 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.in.page
@@ -32,7 +32,7 @@ gint regress_annotation_object_in (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inarg</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout.page
index 160acea..b9cbfe8 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout.page
@@ -32,7 +32,7 @@ gint regress_annotation_object_inout (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inoutarg</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout2.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout2.page
index 3c48561..f4f9638 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout2.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout2.page
@@ -32,7 +32,7 @@ gint regress_annotation_object_inout2 (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inoutarg</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout3.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout3.page
index c0870f2..d000434 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout3.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.inout3.page
@@ -32,7 +32,7 @@ gint regress_annotation_object_inout3 (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inoutarg</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.method.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.method.page
index c137afd..1558a2b 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.method.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.method.page
@@ -27,7 +27,7 @@ gint regress_annotation_object_method (RegressAnnotationObject* object);
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page
index a76fe81..7cc6002 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.notrans.page
@@ -27,7 +27,7 @@ GObject* regress_annotation_object_notrans (RegressAnnotationObject* object);
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page
index 169e040..90f4bcf 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.out.page
@@ -32,7 +32,7 @@ gint regress_annotation_object_out (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>outarg</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page
index a5385dc..4ef5cb7 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.use_buffer.page
@@ -32,7 +32,7 @@ void regress_annotation_object_use_buffer (RegressAnnotationObject* object,
 <terms>
 <item>
 <title><code>object</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>bytes</code></title>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page
index 219a773..6052118 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.AnnotationObject.watch.page
@@ -11,7 +11,7 @@
       <api:returns>
         <api:type>void</api:type>
       </api:returns>
-      <api:name>regress_annotation_object_watch</api:name>
+      <api:name>regress_annotation_object_watch_full</api:name>
       <api:arg>
         <api:type>RegressAnnotationObject*</api:type>
         <api:name>object</api:name>
@@ -24,16 +24,20 @@
         <api:type>gpointer</api:type>
         <api:name>user_data</api:name>
       </api:arg>
+      <api:arg>
+        <api:type>GDestroyNotify</api:type>
+        <api:name>destroy</api:name>
+      </api:arg>
     </api:function>
   </info>
-  <title>regress_annotation_object_watch</title>
+  <title>regress_annotation_object_watch_full</title>
   <synopsis><code mime="text/x-csrc">
-void regress_annotation_object_watch (RegressAnnotationObject* object,
-                                      RegressAnnotationForeachFunc func,
-                                      gpointer user_data);
+void regress_annotation_object_watch_full (RegressAnnotationObject* object,
+                                           RegressAnnotationForeachFunc func,
+                                           gpointer user_data,
+                                           GDestroyNotify destroy);
   </code></synopsis>
-  <p>This is here just for the sake of being overriden by its
-<link xref="Regress.watch_full"/>.</p>
+  <p>Test overriding via the "Rename To" annotation.</p>
 
 <terms>
 <item>
@@ -49,6 +53,10 @@ void regress_annotation_object_watch (RegressAnnotationObject* object,
   <p>The callback data</p>
 </item>
 <item>
+<title><code>destroy</code></title>
+  <p>Destroy notification</p>
+</item>
+<item>
 <title><code>Returns</code></title>
 
 </item>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.FooBufferClass.page
similarity index 92%
copy from tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-C-expected/Regress.FooBufferClass.page
index c9db2dd..dd411f7 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooBufferClass.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.FooBufferClass"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,7 +8,7 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.FooBufferClass</title>
 
 
   <links type="topic" ui:expanded="true"
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.method.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.method.page
index bcf81f2..43ac529 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.method.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.method.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooEnumType" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>int</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.returnv.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.returnv.page
index 85335da..96a0003 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.returnv.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooEnumType.returnv.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooEnumType" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>RegressFooEnumType</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.FooError.quark.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.FooError.quark.page
index aa71535..fb8559c 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.FooError.quark.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GQuark</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.FooOtherObjectClass.page
similarity index 92%
copy from tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-C-expected/Regress.FooOtherObjectClass.page
index c9db2dd..7b15b42 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooOtherObjectClass.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.FooOtherObjectClass"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,7 +8,7 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.FooOtherObjectClass</title>
 
 
   <links type="topic" ui:expanded="true"
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.FooStructPrivate.page
similarity index 92%
copy from tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-C-expected/Regress.FooStructPrivate.page
index c9db2dd..6d460be 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.FooStructPrivate.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.FooStructPrivate"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,7 +8,7 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.FooStructPrivate</title>
 
 
   <links type="topic" ui:expanded="true"
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.Intset.page
similarity index 91%
copy from tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-C-expected/Regress.Intset.page
index c9db2dd..69d8300 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.Intset.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.Intset"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,8 +8,8 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
-
+  <title>Regress.Intset</title>
+  <p>Like telepathy-glib's TpIntset.</p>
 
   <links type="topic" ui:expanded="true"
          api:type="function" api:mime="text/x-csrc"
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestABCError.quark.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.TestABCError.quark.page
index fd90ef3..ab2b773 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.TestABCError.quark.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestABCError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestABCError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GQuark</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedPrivate.page
similarity index 92%
rename from tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
rename to tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedPrivate.page
index c9db2dd..8523949 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestBoxedPrivate.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.TestBoxedPrivate"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,7 +8,7 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.TestBoxedPrivate</title>
 
 
   <links type="topic" ui:expanded="true"
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.param.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.param.page
index 815a156..0b2d8f7 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.param.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestEnum.param.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestEnum" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>const gchar*</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestError.quark.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.TestError.quark.page
index bab90da..97774c1 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.TestError.quark.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GQuark</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.quark.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.quark.page
index 5a07ab5..9bb6a28 100644
--- a/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.quark.page
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestOtherError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestOtherError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GQuark</api:type>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_boxeds_not_a_method.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.test_boxeds_not_a_method.page
new file mode 100644
index 0000000..dd1b24b
--- /dev/null
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_boxeds_not_a_method.page
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<page id="Regress.test_boxeds_not_a_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="index" group="function" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>void</api:type>
+      </api:returns>
+      <api:name>regress_test_boxeds_not_a_method</api:name>
+      <api:arg>
+        <api:type>RegressTestBoxed*</api:type>
+        <api:name>boxed</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>regress_test_boxeds_not_a_method</title>
+  <synopsis><code mime="text/x-csrc">
+void regress_test_boxeds_not_a_method (RegressTestBoxed* boxed);
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>boxed</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_boxeds_not_a_static.page 
b/tests/scanner/Regress-1.0-C-expected/Regress.test_boxeds_not_a_static.page
new file mode 100644
index 0000000..583fa93
--- /dev/null
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_boxeds_not_a_static.page
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<page id="Regress.test_boxeds_not_a_static"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="index" group="function" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>void</api:type>
+      </api:returns>
+      <api:name>regress_test_boxeds_not_a_static</api:name>
+    </api:function>
+  </info>
+  <title>regress_test_boxeds_not_a_static</title>
+  <synopsis><code mime="text/x-csrc">
+void regress_test_boxeds_not_a_static (void);
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page
index f0b11e8..377a063 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.ATestError.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.ATestError"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationFields-arr.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationFields-arr.page
index 8074ffd..a95e09d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationFields-arr.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationFields-arr.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.AnnotationFields.arr</title>
   <synopsis><code mime="text/x-gjs">
-AnnotationFields.arr: Array(Number(guint8)) (Read / Write)
+AnnotationFields.arr: ByteArray (Read / Write)
   </code></synopsis>
   <p>an array of length @len</p>
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page
index 64d872f..076d9a2 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.allow_none.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.allow_none</title>
   <synopsis><code mime="text/x-gjs">
-function allow_none(somearg: String): <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link> {
+function allow_none(somearg: String): <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
     // Gjs wrapper for regress_annotation_object_allow_none()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page
index 7574122..e9620c8 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleeowns.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.calleeowns</title>
   <synopsis><code mime="text/x-gjs">
-function calleeowns(): [return_value: Number(gint), toown: <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link>] {
+function calleeowns(): [return_value: Number(gint), toown: <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link>] {
     // Gjs wrapper for regress_annotation_object_calleeowns()
 }
   </code></synopsis>
@@ -29,7 +29,7 @@ function calleeowns(): [return_value: Number(gint), toown: <link href="../GObjec
 </item>
 <item>
 <title><code>toown</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 </terms>
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page
index 33ba8e5..3741558 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.calleesowns.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.calleesowns</title>
   <synopsis><code mime="text/x-gjs">
-function calleesowns(): [return_value: Number(gint), toown1: <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link>, toown2: <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link>] {
+function calleesowns(): [return_value: Number(gint), toown1: <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link>, toown2: <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link>] {
     // Gjs wrapper for regress_annotation_object_calleesowns()
 }
   </code></synopsis>
@@ -29,11 +29,11 @@ function calleesowns(): [return_value: Number(gint), toown1: <link href="../GObj
 </item>
 <item>
 <title><code>toown1</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown2</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 </terms>
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page
index 8752d9f..b82f3a3 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.create_object.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.create_object</title>
   <synopsis><code mime="text/x-gjs">
-function create_object(): <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link> {
+function create_object(): <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
     // Gjs wrapper for regress_annotation_object_create_object()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page
index 331b7e0..2455d62 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.do_not_use.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.do_not_use</title>
   <synopsis><code mime="text/x-gjs">
-function do_not_use(): <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link> {
+function do_not_use(): <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
     // Gjs wrapper for regress_annotation_object_do_not_use()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page
index a411ad8..efaa504 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.get_hash.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.get_hash</title>
   <synopsis><code mime="text/x-gjs">
-function get_hash(): {String: <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link>} {
+function get_hash(): {String: <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link>} {
     // Gjs wrapper for regress_annotation_object_get_hash()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page
index 8edd9cb..ecb3e9a 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.notrans.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.AnnotationObject.prototype.notrans</title>
   <synopsis><code mime="text/x-gjs">
-function notrans(): <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link> {
+function notrans(): <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
     // Gjs wrapper for regress_annotation_object_notrans()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page
index 43e0c1b..1114cea 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data.page
@@ -13,14 +13,14 @@
       </api:returns>
       <api:name>regress_annotation_object_set_data</api:name>
       <api:arg>
-        <api:type>Array(Number(guint8))</api:type>
+        <api:type>ByteArray</api:type>
         <api:name>data</api:name>
       </api:arg>
     </api:function>
   </info>
   <title>Regress.AnnotationObject.prototype.set_data</title>
   <synopsis><code mime="text/x-gjs">
-function set_data(data: Array(Number(guint8))): void {
+function set_data(data: ByteArray): void {
     // Gjs wrapper for regress_annotation_object_set_data()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page
index 7020415..83a2349 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data2.page
@@ -13,14 +13,14 @@
       </api:returns>
       <api:name>regress_annotation_object_set_data2</api:name>
       <api:arg>
-        <api:type>Array(Number(gint8))</api:type>
+        <api:type>ByteArray</api:type>
         <api:name>data</api:name>
       </api:arg>
     </api:function>
   </info>
   <title>Regress.AnnotationObject.prototype.set_data2</title>
   <synopsis><code mime="text/x-gjs">
-function set_data2(data: Array(Number(gint8))): void {
+function set_data2(data: ByteArray): void {
     // Gjs wrapper for regress_annotation_object_set_data2()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page
index 14709d9..ffef4ec 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.set_data3.page
@@ -13,14 +13,14 @@
       </api:returns>
       <api:name>regress_annotation_object_set_data3</api:name>
       <api:arg>
-        <api:type>Array(Number(guint8))</api:type>
+        <api:type>ByteArray</api:type>
         <api:name>data</api:name>
       </api:arg>
     </api:function>
   </info>
   <title>Regress.AnnotationObject.prototype.set_data3</title>
   <synopsis><code mime="text/x-gjs">
-function set_data3(data: Array(Number(guint8))): void {
+function set_data3(data: ByteArray): void {
     // Gjs wrapper for regress_annotation_object_set_data3()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch_full.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page
similarity index 79%
rename from tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch_full.page
rename to tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page
index 3701b58..70963d4 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch_full.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.AnnotationObject.watch.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnnotationObject.watch_full"
+<page id="Regress.AnnotationObject.watch"
       type="topic"
       style="method"
       xmlns="http://projectmallard.org/1.0/";
@@ -18,9 +18,9 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.AnnotationObject.prototype.watch_full</title>
+  <title>Regress.AnnotationObject.prototype.watch</title>
   <synopsis><code mime="text/x-gjs">
-function watch_full(func: <link xref="Regress.AnnotationForeachFunc">Regress.AnnotationForeachFunc</link>): 
void {
+function watch(func: <link xref="Regress.AnnotationForeachFunc">Regress.AnnotationForeachFunc</link>): void {
     // Gjs wrapper for regress_annotation_object_watch_full()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page
index 2af7b9e..ee97008 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooASingle.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooASingle"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -17,5 +17,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page
index a4b82a3..16ee99d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooAddressType.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooAddressType"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.new.page
new file mode 100644
index 0000000..f09ba87
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBRect.new.page
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<page id="Regress.FooBRect.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooBRect" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.FooBRect</api:type>
+      </api:returns>
+      <api:name>regress_foo_brect_new</api:name>
+      <api:arg>
+        <api:type>Number(gdouble)</api:type>
+        <api:name>x</api:name>
+      </api:arg>
+      <api:arg>
+        <api:type>Number(gdouble)</api:type>
+        <api:name>y</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.FooBRect.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(x: Number(gdouble), y: Number(gdouble)): <link xref="Regress.FooBRect">Regress.FooBRect</link> {
+    // Gjs wrapper for regress_foo_brect_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>x</code></title>
+
+</item>
+<item>
+<title><code>y</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.new.page
new file mode 100644
index 0000000..da064a6
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.FooBUnion.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooBUnion" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.FooBUnion</api:type>
+      </api:returns>
+      <api:name>regress_foo_bunion_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.FooBUnion.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.FooBUnion">Regress.FooBUnion</link> {
+    // Gjs wrapper for regress_foo_bunion_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page
new file mode 100644
index 0000000..ab3a533
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBoxed.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.FooBoxed.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooBoxed" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.FooBoxed</api:type>
+      </api:returns>
+      <api:name>regress_foo_boxed_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.FooBoxed.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.FooBoxed">Regress.FooBoxed</link> {
+    // Gjs wrapper for regress_foo_boxed_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page
index 6184391..2d36462 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumFullname.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooEnumFullname"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page
index 44c091a..fb10ef7 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumNoType.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooEnumNoType"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -29,5 +29,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.method.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.method.page
index 61a41af..c5c166d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.method.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.method.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooEnumType" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>Number(gint)</api:type>
@@ -18,7 +18,7 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.method</title>
+  <title>Regress.FooEnumType.method</title>
   <synopsis><code mime="text/x-gjs">
 function method(regress_foo_enum: <link xref="Regress.FooEnumType">Regress.FooEnumType</link>): Number(gint) 
{
     // Gjs wrapper for regress_foo_enum_type_method()
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page
index 5827bd6..1a92059 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooEnumType"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.returnv.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.returnv.page
index 004f7a3..d5c274b 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.returnv.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooEnumType.returnv.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooEnumType" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>Regress.FooEnumType</api:type>
@@ -18,7 +18,7 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.returnv</title>
+  <title>Regress.FooEnumType.returnv</title>
   <synopsis><code mime="text/x-gjs">
 function returnv(x: Number(gint)): <link xref="Regress.FooEnumType">Regress.FooEnumType</link> {
     // Gjs wrapper for regress_foo_enum_type_returnv()
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page
index 873701b..ef47486 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooError"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.quark.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.quark.page
index 4c3e58b..794fbb5 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.quark.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,9 +14,9 @@
       <api:name>regress_foo_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.FooError.quark</title>
   <synopsis><code mime="text/x-gjs">
-function quark(): <link href="../GLib-2.0/GLib.Quark.page">GLib.Quark</link> {
+function quark(): <link href="../GLib-2.0/GLib.Quark.html">GLib.Quark</link> {
     // Gjs wrapper for regress_foo_error_quark()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.new.page
new file mode 100644
index 0000000..7040d19
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooForeignStruct.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.FooForeignStruct.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooForeignStruct" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.FooForeignStruct</api:type>
+      </api:returns>
+      <api:name>regress_foo_foreign_struct_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.FooForeignStruct.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.FooForeignStruct">Regress.FooForeignStruct</link> {
+    // Gjs wrapper for regress_foo_foreign_struct_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page
index f455012..92f2c60 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject-signal.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.FooObject::signal</title>
   <synopsis><code mime="text/x-gjs">
-connect('signal', function (fooObject, object: <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link>, p0: void, ): String);
+connect('signal', function (fooObject, object: <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link>, p0: void, ): String);
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page
index 6c3a99b..ba829fb 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.a_global_method.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.FooObject.a_global_method</title>
   <synopsis><code mime="text/x-gjs">
-function a_global_method(obj: <link href="../Utility-1.0/Utility.Object.page">Utility.Object</link>): void {
+function a_global_method(obj: <link href="../Utility-1.0/Utility.Object.html">Utility.Object</link>): void {
     // Gjs wrapper for regress_foo_object_a_global_method()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page
index 9d962d1..e1e6b81 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.external_type.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.FooObject.prototype.external_type</title>
   <synopsis><code mime="text/x-gjs">
-function external_type(): <link href="../Utility-1.0/Utility.Object.page">Utility.Object</link> {
+function external_type(): <link href="../Utility-1.0/Utility.Object.html">Utility.Object</link> {
     // Gjs wrapper for regress_foo_object_external_type()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page
index 6e8b1d6..a5cad51 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.handle_glyph.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.FooObject.prototype.handle_glyph</title>
   <synopsis><code mime="text/x-gjs">
-function handle_glyph(glyph: <link href="../Utility-1.0/Utility.Glyph.page">Utility.Glyph</link>): void {
+function handle_glyph(glyph: <link href="../Utility-1.0/Utility.Glyph.html">Utility.Glyph</link>): void {
     // Gjs wrapper for regress_foo_object_handle_glyph()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new.page
new file mode 100644
index 0000000..5411fde
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.FooObject.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooObject" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.FooObject</api:type>
+      </api:returns>
+      <api:name>regress_foo_object_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.FooObject.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.FooObject">Regress.FooObject</link> {
+    // Gjs wrapper for regress_foo_object_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_as_super.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_as_super.page
new file mode 100644
index 0000000..7cc20b9
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooObject.new_as_super.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.FooObject.new_as_super"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooObject" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>GObject.Object</api:type>
+      </api:returns>
+      <api:name>regress_foo_object_new_as_super</api:name>
+    </api:function>
+  </info>
+  <title>Regress.FooObject.new_as_super</title>
+  <synopsis><code mime="text/x-gjs">
+function new_as_super(): <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
+    // Gjs wrapper for regress_foo_object_new_as_super()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page
index bb6bc51..711561c 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooStackLayer.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.FooStackLayer"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -49,5 +49,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page
index 51e2366..5bc8639 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface-do_baz.page
@@ -10,7 +10,7 @@
   </info>
   <title>Regress.FooSubInterface::do_baz</title>
   <synopsis><code mime="text/x-gjs">
-function vfunc_do_baz(callback: <link href="../GObject-2.0/GObject.Callback.page">GObject.Callback</link>): 
void {
+function vfunc_do_baz(callback: <link href="../GObject-2.0/GObject.Callback.html">GObject.Callback</link>): 
void {
 }
   </code></synopsis>
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page
index 7f07e00..44cc71b 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.do_baz.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.FooSubInterface.prototype.do_baz</title>
   <synopsis><code mime="text/x-gjs">
-function do_baz(callback: <link href="../GObject-2.0/GObject.Callback.page">GObject.Callback</link>): void {
+function do_baz(callback: <link href="../GObject-2.0/GObject.Callback.html">GObject.Callback</link>): void {
     // Gjs wrapper for regress_foo_sub_interface_do_baz()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.new.page
new file mode 100644
index 0000000..0e39571
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.FooSubobject.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.FooSubobject" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.FooSubobject</api:type>
+      </api:returns>
+      <api:name>regress_foo_subobject_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.FooSubobject.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.FooSubobject">Regress.FooSubobject</link> {
+    // Gjs wrapper for regress_foo_subobject_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct-bar.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct-bar.page
index 5dca969..325c7ec 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct-bar.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooUtilityStruct-bar.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.FooUtilityStruct.bar</title>
   <synopsis><code mime="text/x-gjs">
-FooUtilityStruct.bar: <link href="../Utility-1.0/Utility.Struct.page">Utility.Struct</link> (Read / Write)
+FooUtilityStruct.bar: <link href="../Utility-1.0/Utility.Struct.html">Utility.Struct</link> (Read / Write)
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page
index 9ab2189..18c41d8 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestABCError"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.quark.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.quark.page
index c9c560d..1701f5a 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.quark.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestABCError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestABCError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,9 +14,9 @@
       <api:name>regress_test_abc_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.TestABCError.quark</title>
   <synopsis><code mime="text/x-gjs">
-function quark(): <link href="../GLib-2.0/GLib.Quark.page">GLib.Quark</link> {
+function quark(): <link href="../GLib-2.0/GLib.Quark.html">GLib.Quark</link> {
     // Gjs wrapper for regress_test_abc_error_quark()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new.page
new file mode 100644
index 0000000..d93d80d
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxed.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestBoxed.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestBoxed" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestBoxed</api:type>
+      </api:returns>
+      <api:name>regress_test_boxed_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestBoxed.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.TestBoxed">Regress.TestBoxed</link> {
+    // Gjs wrapper for regress_test_boxed_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.new.page
new file mode 100644
index 0000000..3295300
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedB.new.page
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<page id="Regress.TestBoxedB.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestBoxedB" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestBoxedB</api:type>
+      </api:returns>
+      <api:name>regress_test_boxed_b_new</api:name>
+      <api:arg>
+        <api:type>Number(gint8)</api:type>
+        <api:name>some_int8</api:name>
+      </api:arg>
+      <api:arg>
+        <api:type>Number(glong)</api:type>
+        <api:name>some_long</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.TestBoxedB.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(some_int8: Number(gint8), some_long: Number(glong)): <link 
xref="Regress.TestBoxedB">Regress.TestBoxedB</link> {
+    // Gjs wrapper for regress_test_boxed_b_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>some_int8</code></title>
+
+</item>
+<item>
+<title><code>some_long</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.new.page
new file mode 100644
index 0000000..62b63cd
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedC.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestBoxedC.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestBoxedC" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestBoxedC</api:type>
+      </api:returns>
+      <api:name>regress_test_boxed_c_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestBoxedC.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.TestBoxedC">Regress.TestBoxedC</link> {
+    // Gjs wrapper for regress_test_boxed_c_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.new.page
new file mode 100644
index 0000000..eecc4d2
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.new.page
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<page id="Regress.TestBoxedD.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestBoxedD" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestBoxedD</api:type>
+      </api:returns>
+      <api:name>regress_test_boxed_d_new</api:name>
+      <api:arg>
+        <api:type>String</api:type>
+        <api:name>a_string</api:name>
+      </api:arg>
+      <api:arg>
+        <api:type>Number(gint)</api:type>
+        <api:name>a_int</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.TestBoxedD.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(a_string: String, a_int: Number(gint)): <link 
xref="Regress.TestBoxedD">Regress.TestBoxedD</link> {
+    // Gjs wrapper for regress_test_boxed_d_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>a_string</code></title>
+
+</item>
+<item>
+<title><code>a_int</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page
index 093b4f9..60b0362 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestBoxedD.page
@@ -12,7 +12,7 @@
   <synopsis><code>
 const Regress = imports.gi.Regress;
 
-let testBoxedD = new Regress.TestBoxedD();
+let testBoxedD = new Regress.TestBoxedD(a_string: String, a_int: Number(gint));
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page
index 9e1e285..a5a59cc 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackGError.page
@@ -10,7 +10,7 @@
   </info>
   <title>Regress.TestCallbackGError</title>
   <synopsis><code mime="text/x-gjs">
-function onTestCallbackGError(error: <link href="../GLib-2.0/GLib.Error.page">GLib.Error</link>): void {
+function onTestCallbackGError(error: <link href="../GLib-2.0/GLib.Error.html">GLib.Error</link>): void {
 }
   </code></synopsis>
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page
index 9052a9d..0df5092 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestCallbackOwnedGError.page
@@ -10,7 +10,7 @@
   </info>
   <title>Regress.TestCallbackOwnedGError</title>
   <synopsis><code mime="text/x-gjs">
-function onTestCallbackOwnedGError(error: <link href="../GLib-2.0/GLib.Error.page">GLib.Error</link>): void {
+function onTestCallbackOwnedGError(error: <link href="../GLib-2.0/GLib.Error.html">GLib.Error</link>): void {
 }
   </code></synopsis>
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page
index 4ee8637..1451c6d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestDEFError.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestDEFError"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page
index 10a6897..d7ac407 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestEnum"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -29,5 +29,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.param.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.param.page
index cab9880..34e512d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.param.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnum.param.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestEnum" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>String</api:type>
@@ -18,7 +18,7 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.param</title>
+  <title>Regress.TestEnum.param</title>
   <synopsis><code mime="text/x-gjs">
 function param(e: <link xref="Regress.TestEnum">Regress.TestEnum</link>): String {
     // Gjs wrapper for regress_test_enum_param()
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page
index 34de1b8..ff5505c 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumNoGEnum.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestEnumNoGEnum"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page
index e6976c8..75da794 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestEnumUnsigned.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestEnumUnsigned"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -21,5 +21,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page
index 15f5583..0e6c781 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestError"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.quark.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.quark.page
index d03d179..d143125 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.quark.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,9 +14,9 @@
       <api:name>regress_test_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.TestError.quark</title>
   <synopsis><code mime="text/x-gjs">
-function quark(): <link href="../GLib-2.0/GLib.Quark.page">GLib.Quark</link> {
+function quark(): <link href="../GLib-2.0/GLib.Quark.html">GLib.Quark</link> {
     // Gjs wrapper for regress_test_error_quark()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.new.page
new file mode 100644
index 0000000..431c141
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestFloating.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestFloating" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestFloating</api:type>
+      </api:returns>
+      <api:name>regress_test_floating_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestFloating.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.TestFloating">Regress.TestFloating</link> {
+    // Gjs wrapper for regress_test_floating_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject-copy.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject-copy.page
new file mode 100644
index 0000000..53d28b7
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject-copy.page
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<page id="Regress.TestFundamentalObject-copy"
+      type="topic"
+      style="vfunc"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestFundamentalObject" group="vfunc" type="guide"/>
+  </info>
+  <title>Regress.TestFundamentalObject::copy</title>
+  <synopsis><code mime="text/x-gjs">
+function vfunc_copy(): <link xref="Regress.TestFundamentalObject">Regress.TestFundamentalObject</link> {
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject-finalize.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject-finalize.page
new file mode 100644
index 0000000..efe549b
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject-finalize.page
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<page id="Regress.TestFundamentalObject-finalize"
+      type="topic"
+      style="vfunc"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestFundamentalObject" group="vfunc" type="guide"/>
+  </info>
+  <title>Regress.TestFundamentalObject::finalize</title>
+  <synopsis><code mime="text/x-gjs">
+function vfunc_finalize(): void {
+}
+  </code></synopsis>
+
+
+<terms>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page
similarity index 53%
copy from tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page
index c21c1b7..8534fc4 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.TestFundamentalObject"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,29 +8,46 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.TestFundamentalObject</title>
   <synopsis><code>
-from gi.repository import Regress
+const Regress = imports.gi.Regress;
 
-anonymous_union = Regress.None()
+let testFundamentalObject = new Regress.TestFundamentalObject();
   </code></synopsis>
 
 
+  <synopsis>
+    <title>Hierarchy</title>
+    <tree>
+      <item>
+        <code>Regress.TestFundamentalObject</code>
+      </item>
+    </tree>
+  </synopsis>
   <links type="topic" ui:expanded="true"
-         api:type="function" api:mime="text/python"
+         api:type="function" api:mime="text/x-gjs"
          groups="constructor" style="linklist">
     <title>Constructors</title>
   </links>
   <links type="topic" ui:expanded="true"
-         api:type="function" api:mime="text/python"
+         api:type="function" api:mime="text/x-gjs"
          groups="method" style="linklist">
     <title>Methods</title>
   </links>
   <links type="topic" ui:expanded="true"
-         api:type="function" api:mime="text/python"
+         api:type="function" api:mime="text/x-gjs"
          groups="function" style="linklist">
     <title>Static Functions</title>
   </links>
+  <links type="topic" ui:expanded="true" groups="property" style="linklist">
+    <title>Properties</title>
+  </links>
+  <links type="topic" ui:expanded="true" groups="signal" style="linklist">
+    <title>Signals</title>
+  </links>
+  <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
+    <title>Virtual functions</title>
+  </links>
   <links type="topic" ui:expanded="true" groups="field" style="linklist">
     <title>Fields</title>
   </links>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.ref.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.ref.page
new file mode 100644
index 0000000..153a759
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.ref.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestFundamentalObject.ref"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestFundamentalObject" group="method" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestFundamentalObject</api:type>
+      </api:returns>
+      <api:name>regress_test_fundamental_object_ref</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestFundamentalObject.prototype.ref</title>
+  <synopsis><code mime="text/x-gjs">
+function ref(): <link xref="Regress.TestFundamentalObject">Regress.TestFundamentalObject</link> {
+    // Gjs wrapper for regress_test_fundamental_object_ref()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.unref.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.unref.page
new file mode 100644
index 0000000..ba365e5
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.unref.page
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<page id="Regress.TestFundamentalObject.unref"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestFundamentalObject" group="method" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>void</api:type>
+      </api:returns>
+      <api:name>regress_test_fundamental_object_unref</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestFundamentalObject.prototype.unref</title>
+  <synopsis><code mime="text/x-gjs">
+function unref(): void {
+    // Gjs wrapper for regress_test_fundamental_object_unref()
+}
+  </code></synopsis>
+
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.new.page
new file mode 100644
index 0000000..8a43ee2
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.new.page
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<page id="Regress.TestFundamentalSubObject.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestFundamentalSubObject"
+      group="constructor"
+      type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestFundamentalSubObject</api:type>
+      </api:returns>
+      <api:name>regress_test_fundamental_sub_object_new</api:name>
+      <api:arg>
+        <api:type>String</api:type>
+        <api:name>data</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.TestFundamentalSubObject.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(data: String): <link 
xref="Regress.TestFundamentalSubObject">Regress.TestFundamentalSubObject</link> {
+    // Gjs wrapper for regress_test_fundamental_sub_object_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>data</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page
similarity index 50%
copy from tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page
index c21c1b7..8de3d7c 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.TestFundamentalSubObject"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,29 +8,49 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.TestFundamentalSubObject</title>
   <synopsis><code>
-from gi.repository import Regress
+const Regress = imports.gi.Regress;
 
-anonymous_union = Regress.None()
+let testFundamentalSubObject = new Regress.TestFundamentalSubObject();
   </code></synopsis>
 
 
+  <synopsis>
+    <title>Hierarchy</title>
+    <tree>
+      <item>
+        <code>Regress.TestFundamentalObject</code>
+      <item>
+        <code>Regress.TestFundamentalSubObject</code>
+      </item>
+      </item>
+    </tree>
+  </synopsis>
   <links type="topic" ui:expanded="true"
-         api:type="function" api:mime="text/python"
+         api:type="function" api:mime="text/x-gjs"
          groups="constructor" style="linklist">
     <title>Constructors</title>
   </links>
   <links type="topic" ui:expanded="true"
-         api:type="function" api:mime="text/python"
+         api:type="function" api:mime="text/x-gjs"
          groups="method" style="linklist">
     <title>Methods</title>
   </links>
   <links type="topic" ui:expanded="true"
-         api:type="function" api:mime="text/python"
+         api:type="function" api:mime="text/x-gjs"
          groups="function" style="linklist">
     <title>Static Functions</title>
   </links>
+  <links type="topic" ui:expanded="true" groups="property" style="linklist">
+    <title>Properties</title>
+  </links>
+  <links type="topic" ui:expanded="true" groups="signal" style="linklist">
+    <title>Signals</title>
+  </links>
+  <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
+    <title>Virtual functions</title>
+  </links>
   <links type="topic" ui:expanded="true" groups="field" style="linklist">
     <title>Fields</title>
   </links>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page
index c6d70c4..b279e01 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-bare.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.TestObj.bare</title>
   <synopsis><code mime="text/x-gjs">
-TestObj.bare: <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link> (Read / Write)
+TestObj.bare: <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> (Read / Write)
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page
index 4746b47..42194fa 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-foreign-struct.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.TestObj::sig-with-foreign-struct</title>
   <synopsis><code mime="text/x-gjs">
-connect('sig-with-foreign-struct', function (testObj, cr: <link 
href="../cairo-1.0/cairo.Context.page">cairo.Context</link>, ): void);
+connect('sig-with-foreign-struct', function (testObj, cr: <link 
href="../cairo-1.0/cairo.Context.html">cairo.Context</link>, ): void);
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page
index c3c9e0d..6118eff 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-hash-prop.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.TestObj::sig-with-hash-prop</title>
   <synopsis><code mime="text/x-gjs">
-connect('sig-with-hash-prop', function (testObj, hash: {String: <link 
href="../GObject-2.0/GObject.Value.page">GObject.Value</link>}, ): void);
+connect('sig-with-hash-prop', function (testObj, hash: {String: <link 
href="../GObject-2.0/GObject.Value.html">GObject.Value</link>}, ): void);
   </code></synopsis>
   <p>This test signal is like TelepathyGlib's
  TpAccount::status-changed</p>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page
index 89cfd33..5d230bd 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-obj.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.TestObj::sig-with-obj</title>
   <synopsis><code mime="text/x-gjs">
-connect('sig-with-obj', function (testObj, obj: <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link>, ): void);
+connect('sig-with-obj', function (testObj, obj: <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link>, ): void);
   </code></synopsis>
   <p>Test transfer none GObject as a param (tests refcounting).
 Use with regress_test_obj_emit_sig_with_obj</p>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.constructor.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.constructor.page
new file mode 100644
index 0000000..177defd
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.constructor.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj.constructor"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestObj" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestObj</api:type>
+      </api:returns>
+      <api:name>regress_constructor</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestObj.constructor</title>
+  <synopsis><code mime="text/x-gjs">
+function constructor(): <link xref="Regress.TestObj">Regress.TestObj</link> {
+    // Gjs wrapper for regress_constructor()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new.page
new file mode 100644
index 0000000..8be6b74
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new.page
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestObj" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestObj</api:type>
+      </api:returns>
+      <api:name>regress_test_obj_new</api:name>
+      <api:arg>
+        <api:type>Regress.TestObj</api:type>
+        <api:name>obj</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.TestObj.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(obj: <link xref="Regress.TestObj">Regress.TestObj</link>): <link 
xref="Regress.TestObj">Regress.TestObj</link> {
+    // Gjs wrapper for regress_test_obj_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>obj</code></title>
+  <p>A <link xref="Regress.TestObj"/></p>
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_callback.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_callback.page
new file mode 100644
index 0000000..0e735d0
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_callback.page
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj.new_callback"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestObj" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestObj</api:type>
+      </api:returns>
+      <api:name>regress_test_obj_new_callback</api:name>
+      <api:arg>
+        <api:type>Regress.TestCallbackUserData</api:type>
+        <api:name>callback</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.TestObj.new_callback</title>
+  <synopsis><code mime="text/x-gjs">
+function new_callback(callback: <link 
xref="Regress.TestCallbackUserData">Regress.TestCallbackUserData</link>): <link 
xref="Regress.TestObj">Regress.TestObj</link> {
+    // Gjs wrapper for regress_test_obj_new_callback()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>callback</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_from_file.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_from_file.page
new file mode 100644
index 0000000..2b83a34
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.new_from_file.page
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj.new_from_file"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestObj" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestObj</api:type>
+      </api:returns>
+      <api:name>regress_test_obj_new_from_file</api:name>
+      <api:arg>
+        <api:type>String</api:type>
+        <api:name>x</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.TestObj.new_from_file</title>
+  <synopsis><code mime="text/x-gjs">
+function new_from_file(x: String): <link xref="Regress.TestObj">Regress.TestObj</link> {
+    // Gjs wrapper for regress_test_obj_new_from_file()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>x</code></title>
+
+</item>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page
index 9ca9aca..2e5d07f 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.set_bare.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.TestObj.prototype.set_bare</title>
   <synopsis><code mime="text/x-gjs">
-function set_bare(bare: <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link>): void {
+function set_bare(bare: <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link>): void {
     // Gjs wrapper for regress_test_obj_set_bare()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page
index f968c9c..da0844e 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestOtherError"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -25,5 +25,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.quark.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.quark.page
index 6e95aa2..98efd78 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.quark.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestOtherError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestOtherError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,9 +14,9 @@
       <api:name>regress_test_unconventional_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.TestOtherError.quark</title>
   <synopsis><code mime="text/x-gjs">
-function quark(): <link href="../GLib-2.0/GLib.Quark.page">GLib.Quark</link> {
+function quark(): <link href="../GLib-2.0/GLib.Quark.html">GLib.Quark</link> {
     // Gjs wrapper for regress_test_unconventional_error_quark()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestReferenceEnum.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestReferenceEnum.page
index afda5f3..2394ff1 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestReferenceEnum.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestReferenceEnum.page
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <page id="Regress.TestReferenceEnum"
-      type="topic"
+      type="guide"
       style="enum"
       xmlns="http://projectmallard.org/1.0/";
       xmlns:api="http://projectmallard.org/experimental/api/";
@@ -37,5 +37,9 @@
 
 </item>
 </terms>
-
+  <links type="topic" ui:expanded="true"
+         api:type="function" api:mime="text/x-gjs"
+         groups="function" style="linklist">
+    <title>Functions</title>
+  </links>
 </page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC-obj.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC-obj.page
index 162697c..1ead3fc 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC-obj.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestStructC-obj.page
@@ -11,7 +11,7 @@
   </info>
   <title>Regress.TestStructC.obj</title>
   <synopsis><code mime="text/x-gjs">
-TestStructC.obj: <link href="../GObject-2.0/GObject.Object.page">GObject.Object</link> (Read)
+TestStructC.obj: <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> (Read)
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.new.page
new file mode 100644
index 0000000..833ed23
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestSubObj.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestSubObj" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestObj</api:type>
+      </api:returns>
+      <api:name>regress_test_sub_obj_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestSubObj.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.TestObj">Regress.TestObj</link> {
+    // Gjs wrapper for regress_test_sub_obj_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.new.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.new.page
new file mode 100644
index 0000000..3d041a1
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestWi8021x.new.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.TestWi8021x.new"
+      type="topic"
+      style="constructor"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="Regress.TestWi8021x" group="constructor" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>Regress.TestWi8021x</api:type>
+      </api:returns>
+      <api:name>regress_test_wi_802_1x_new</api:name>
+    </api:function>
+  </info>
+  <title>Regress.TestWi8021x.new</title>
+  <synopsis><code mime="text/x-gjs">
+function new(): <link xref="Regress.TestWi8021x">Regress.TestWi8021x</link> {
+    // Gjs wrapper for regress_test_wi_802_1x_new()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page
index 07187df..9d1de5e 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_ptr_array.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.annotation_ptr_array</title>
   <synopsis><code mime="text/x-gjs">
-function annotation_ptr_array(array: Array(<link 
href="../GObject-2.0/GObject.Value.page">GObject.Value</link>)): void {
+function annotation_ptr_array(array: Array(<link 
href="../GObject-2.0/GObject.Value.html">GObject.Value</link>)): void {
     // Gjs wrapper for regress_annotation_ptr_array()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page
index 0b152a7..3fb7093 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_test_parsing_bug630862.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.annotation_test_parsing_bug630862</title>
   <synopsis><code mime="text/x-gjs">
-function annotation_test_parsing_bug630862(): <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link> {
+function annotation_test_parsing_bug630862(): <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
     // Gjs wrapper for regress_annotation_test_parsing_bug630862()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page
index 07aefcb..25a4aeb 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.annotation_transfer_floating.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.annotation_transfer_floating</title>
   <synopsis><code mime="text/x-gjs">
-function annotation_transfer_floating(): <link 
href="../GObject-2.0/GObject.Object.page">GObject.Object</link> {
+function annotation_transfer_floating(): <link 
href="../GObject-2.0/GObject.Object.html">GObject.Object</link> {
     // Gjs wrapper for regress_annotation_transfer_floating()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page
index 9366496..2d81ed0 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.atest_error_quark.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.atest_error_quark</title>
   <synopsis><code mime="text/x-gjs">
-function atest_error_quark(): <link href="../GLib-2.0/GLib.Quark.page">GLib.Quark</link> {
+function atest_error_quark(): <link href="../GLib-2.0/GLib.Quark.html">GLib.Quark</link> {
     // Gjs wrapper for regress_atest_error_quark()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page
index 54040ad..d285f4e 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_async_ready_callback.page
@@ -24,7 +24,7 @@
   </info>
   <title>Regress.foo_async_ready_callback</title>
   <synopsis><code mime="text/x-gjs">
-function foo_async_ready_callback(cancellable: <link 
href="../Gio-2.0/Gio.Cancellable.page">Gio.Cancellable</link>, callback: <link 
href="../Gio-2.0/Gio.AsyncReadyCallback.page">Gio.AsyncReadyCallback</link>): void {
+function foo_async_ready_callback(cancellable: <link 
href="../Gio-2.0/Gio.Cancellable.html">Gio.Cancellable</link>, callback: <link 
href="../Gio-2.0/Gio.AsyncReadyCallback.html">Gio.AsyncReadyCallback</link>): void {
     // Gjs wrapper for regress_foo_async_ready_callback()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page
index 1bb3afb..00ff1f9 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.foo_method_external_references.page
@@ -32,7 +32,7 @@
   </info>
   <title>Regress.foo_method_external_references</title>
   <synopsis><code mime="text/x-gjs">
-function foo_method_external_references(object: <link 
href="../Utility-1.0/Utility.Object.page">Utility.Object</link>, e: <link 
href="../Utility-1.0/Utility.EnumType.page">Utility.EnumType</link>, f: <link 
href="../Utility-1.0/Utility.FlagType.page">Utility.FlagType</link>, s: <link 
href="../Utility-1.0/Utility.Struct.page">Utility.Struct</link>): void {
+function foo_method_external_references(object: <link 
href="../Utility-1.0/Utility.Object.html">Utility.Object</link>, e: <link 
href="../Utility-1.0/Utility.EnumType.html">Utility.EnumType</link>, f: <link 
href="../Utility-1.0/Utility.FlagType.html">Utility.FlagType</link>, s: <link 
href="../Utility-1.0/Utility.Struct.html">Utility.Struct</link>): void {
     // Gjs wrapper for regress_foo_method_external_references()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page
index 617f7a4..b60ee63 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_gint8_in.page
@@ -13,14 +13,14 @@
       </api:returns>
       <api:name>regress_test_array_gint8_in</api:name>
       <api:arg>
-        <api:type>Array(Number(gint8))</api:type>
+        <api:type>ByteArray</api:type>
         <api:name>ints</api:name>
       </api:arg>
     </api:function>
   </info>
   <title>Regress.test_array_gint8_in</title>
   <synopsis><code mime="text/x-gjs">
-function test_array_gint8_in(ints: Array(Number(gint8))): Number(gint) {
+function test_array_gint8_in(ints: ByteArray): Number(gint) {
     // Gjs wrapper for regress_test_array_gint8_in()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page
index c4625e0..00b92ad 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_async_ready_callback.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_async_ready_callback</title>
   <synopsis><code mime="text/x-gjs">
-function test_async_ready_callback(callback: <link 
href="../Gio-2.0/Gio.AsyncReadyCallback.page">Gio.AsyncReadyCallback</link>): void {
+function test_async_ready_callback(callback: <link 
href="../Gio-2.0/Gio.AsyncReadyCallback.html">Gio.AsyncReadyCallback</link>): void {
     // Gjs wrapper for regress_test_async_ready_callback()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boxeds_not_a_method.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boxeds_not_a_method.page
new file mode 100644
index 0000000..27bda3f
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boxeds_not_a_method.page
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<page id="Regress.test_boxeds_not_a_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="index" group="function" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>void</api:type>
+      </api:returns>
+      <api:name>regress_test_boxeds_not_a_method</api:name>
+      <api:arg>
+        <api:type>Regress.TestBoxed</api:type>
+        <api:name>boxed</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.test_boxeds_not_a_method</title>
+  <synopsis><code mime="text/x-gjs">
+function test_boxeds_not_a_method(boxed: <link xref="Regress.TestBoxed">Regress.TestBoxed</link>): void {
+    // Gjs wrapper for regress_test_boxeds_not_a_method()
+}
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>boxed</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boxeds_not_a_static.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boxeds_not_a_static.page
new file mode 100644
index 0000000..2d7eb0b
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_boxeds_not_a_static.page
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<page id="Regress.test_boxeds_not_a_static"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="index" group="function" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>void</api:type>
+      </api:returns>
+      <api:name>regress_test_boxeds_not_a_static</api:name>
+    </api:function>
+  </info>
+  <title>Regress.test_boxeds_not_a_static</title>
+  <synopsis><code mime="text/x-gjs">
+function test_boxeds_not_a_static(): void {
+    // Gjs wrapper for regress_test_boxeds_not_a_static()
+}
+  </code></synopsis>
+
+
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page
index 2c6a5aa..d46fdff 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_full_return.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_cairo_context_full_return</title>
   <synopsis><code mime="text/x-gjs">
-function test_cairo_context_full_return(): <link href="../cairo-1.0/cairo.Context.page">cairo.Context</link> 
{
+function test_cairo_context_full_return(): <link href="../cairo-1.0/cairo.Context.html">cairo.Context</link> 
{
     // Gjs wrapper for regress_test_cairo_context_full_return()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page
index 66a02d6..99dc4dc 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_context_none_in.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_cairo_context_none_in</title>
   <synopsis><code mime="text/x-gjs">
-function test_cairo_context_none_in(context: <link 
href="../cairo-1.0/cairo.Context.page">cairo.Context</link>): void {
+function test_cairo_context_none_in(context: <link 
href="../cairo-1.0/cairo.Context.html">cairo.Context</link>): void {
     // Gjs wrapper for regress_test_cairo_context_none_in()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page
index 18d52ed..9005393 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_out.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_cairo_surface_full_out</title>
   <synopsis><code mime="text/x-gjs">
-function test_cairo_surface_full_out(): <link href="../cairo-1.0/cairo.Surface.page">cairo.Surface</link> {
+function test_cairo_surface_full_out(): <link href="../cairo-1.0/cairo.Surface.html">cairo.Surface</link> {
     // Gjs wrapper for regress_test_cairo_surface_full_out()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page
index efe27fa..54bd146 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_full_return.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_cairo_surface_full_return</title>
   <synopsis><code mime="text/x-gjs">
-function test_cairo_surface_full_return(): <link href="../cairo-1.0/cairo.Surface.page">cairo.Surface</link> 
{
+function test_cairo_surface_full_return(): <link href="../cairo-1.0/cairo.Surface.html">cairo.Surface</link> 
{
     // Gjs wrapper for regress_test_cairo_surface_full_return()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page
index 4c10e3c..f61da52 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_in.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_cairo_surface_none_in</title>
   <synopsis><code mime="text/x-gjs">
-function test_cairo_surface_none_in(surface: <link 
href="../cairo-1.0/cairo.Surface.page">cairo.Surface</link>): void {
+function test_cairo_surface_none_in(surface: <link 
href="../cairo-1.0/cairo.Surface.html">cairo.Surface</link>): void {
     // Gjs wrapper for regress_test_cairo_surface_none_in()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page
index 688dbe2..81f9a55 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_cairo_surface_none_return.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_cairo_surface_none_return</title>
   <synopsis><code mime="text/x-gjs">
-function test_cairo_surface_none_return(): <link href="../cairo-1.0/cairo.Surface.page">cairo.Surface</link> 
{
+function test_cairo_surface_none_return(): <link href="../cairo-1.0/cairo.Surface.html">cairo.Surface</link> 
{
     // Gjs wrapper for regress_test_cairo_surface_none_return()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page
index 1b68fd0..f83698d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_closure</title>
   <synopsis><code mime="text/x-gjs">
-function test_closure(closure: <link href="../GObject-2.0/GObject.Closure.page">GObject.Closure</link>): 
Number(gint) {
+function test_closure(closure: <link href="../GObject-2.0/GObject.Closure.html">GObject.Closure</link>): 
Number(gint) {
     // Gjs wrapper for regress_test_closure()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page
index 7750342..56d9c0d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_one_arg.page
@@ -24,7 +24,7 @@
   </info>
   <title>Regress.test_closure_one_arg</title>
   <synopsis><code mime="text/x-gjs">
-function test_closure_one_arg(closure: <link 
href="../GObject-2.0/GObject.Closure.page">GObject.Closure</link>, arg: Number(gint)): Number(gint) {
+function test_closure_one_arg(closure: <link 
href="../GObject-2.0/GObject.Closure.html">GObject.Closure</link>, arg: Number(gint)): Number(gint) {
     // Gjs wrapper for regress_test_closure_one_arg()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page
index 6051b9d..cbda2a1 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure_variant.page
@@ -24,7 +24,7 @@
   </info>
   <title>Regress.test_closure_variant</title>
   <synopsis><code mime="text/x-gjs">
-function test_closure_variant(closure: <link 
href="../GObject-2.0/GObject.Closure.page">GObject.Closure</link>, arg: <link 
href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link>): <link 
href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link> {
+function test_closure_variant(closure: <link 
href="../GObject-2.0/GObject.Closure.html">GObject.Closure</link>, arg: <link 
href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link>): <link 
href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
     // Gjs wrapper for regress_test_closure_variant()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page
index 9c4a1d7..743cc31 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_date_in_gvalue.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_date_in_gvalue</title>
   <synopsis><code mime="text/x-gjs">
-function test_date_in_gvalue(): <link href="../GObject-2.0/GObject.Value.page">GObject.Value</link> {
+function test_date_in_gvalue(): <link href="../GObject-2.0/GObject.Value.html">GObject.Value</link> {
     // Gjs wrapper for regress_test_date_in_gvalue()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page
index 6038e26..055ea75 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_def_error_quark.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_def_error_quark</title>
   <synopsis><code mime="text/x-gjs">
-function test_def_error_quark(): <link href="../GLib-2.0/GLib.Quark.page">GLib.Quark</link> {
+function test_def_error_quark(): <link href="../GLib-2.0/GLib.Quark.html">GLib.Quark</link> {
     // Gjs wrapper for regress_test_def_error_quark()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page
index ee7851c..fefc9aa 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_in.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_ghash_gvalue_in</title>
   <synopsis><code mime="text/x-gjs">
-function test_ghash_gvalue_in(hash: {String: <link 
href="../GObject-2.0/GObject.Value.page">GObject.Value</link>}): void {
+function test_ghash_gvalue_in(hash: {String: <link 
href="../GObject-2.0/GObject.Value.html">GObject.Value</link>}): void {
     // Gjs wrapper for regress_test_ghash_gvalue_in()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page
index 3c734ef..141015e 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_ghash_gvalue_return.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_ghash_gvalue_return</title>
   <synopsis><code mime="text/x-gjs">
-function test_ghash_gvalue_return(): {String: <link 
href="../GObject-2.0/GObject.Value.page">GObject.Value</link>} {
+function test_ghash_gvalue_return(): {String: <link 
href="../GObject-2.0/GObject.Value.html">GObject.Value</link>} {
     // Gjs wrapper for regress_test_ghash_gvalue_return()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page
index b6e6750..0e2d25d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_as.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_gvariant_as</title>
   <synopsis><code mime="text/x-gjs">
-function test_gvariant_as(): <link href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link> {
+function test_gvariant_as(): <link href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
     // Gjs wrapper for regress_test_gvariant_as()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page
index e17b335..d0fc5b6 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_asv.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_gvariant_asv</title>
   <synopsis><code mime="text/x-gjs">
-function test_gvariant_asv(): <link href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link> {
+function test_gvariant_asv(): <link href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
     // Gjs wrapper for regress_test_gvariant_asv()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page
index 3bf6857..2244a4d 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_i.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_gvariant_i</title>
   <synopsis><code mime="text/x-gjs">
-function test_gvariant_i(): <link href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link> {
+function test_gvariant_i(): <link href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
     // Gjs wrapper for regress_test_gvariant_i()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page
index 40741bc..7c440d6 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_s.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_gvariant_s</title>
   <synopsis><code mime="text/x-gjs">
-function test_gvariant_s(): <link href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link> {
+function test_gvariant_s(): <link href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
     // Gjs wrapper for regress_test_gvariant_s()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page
index 3a5cfe7..f10aded 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_gvariant_v.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_gvariant_v</title>
   <synopsis><code mime="text/x-gjs">
-function test_gvariant_v(): <link href="../GLib-2.0/GLib.Variant.page">GLib.Variant</link> {
+function test_gvariant_v(): <link href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
     // Gjs wrapper for regress_test_gvariant_v()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page
index 64d400e..6d61389 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_int_value_arg.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_int_value_arg</title>
   <synopsis><code mime="text/x-gjs">
-function test_int_value_arg(v: <link href="../GObject-2.0/GObject.Value.page">GObject.Value</link>): 
Number(gint) {
+function test_int_value_arg(v: <link href="../GObject-2.0/GObject.Value.html">GObject.Value</link>): 
Number(gint) {
     // Gjs wrapper for regress_test_int_value_arg()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page
index 83cbe06..3aeec50 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_strv_in_gvalue.page
@@ -16,7 +16,7 @@
   </info>
   <title>Regress.test_strv_in_gvalue</title>
   <synopsis><code mime="text/x-gjs">
-function test_strv_in_gvalue(): <link href="../GObject-2.0/GObject.Value.page">GObject.Value</link> {
+function test_strv_in_gvalue(): <link href="../GObject-2.0/GObject.Value.html">GObject.Value</link> {
     // Gjs wrapper for regress_test_strv_in_gvalue()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page 
b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page
index e9dfd23..1493360 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_value_return.page
@@ -20,7 +20,7 @@
   </info>
   <title>Regress.test_value_return</title>
   <synopsis><code mime="text/x-gjs">
-function test_value_return(i: Number(gint)): <link 
href="../GObject-2.0/GObject.Value.page">GObject.Value</link> {
+function test_value_return(i: Number(gint)): <link 
href="../GObject-2.0/GObject.Value.html">GObject.Value</link> {
     // Gjs wrapper for regress_test_value_return()
 }
   </code></synopsis>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page
index 92add7a..0b18415 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page
@@ -34,7 +34,7 @@ def allow_none(self, somearg):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>somearg</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page
index f0e9b13..bab5a57 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page
@@ -34,11 +34,11 @@ def calleeowns(self, toown):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page
index 5f313c7..eec4b16 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page
@@ -38,15 +38,15 @@ def calleesowns(self, toown1, toown2):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown1</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>toown2</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page
index 5b69224..56d438e 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page
@@ -34,7 +34,7 @@ def compute_sum(self, nums):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>nums</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page
index 2384a87..3845573 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page
@@ -38,7 +38,7 @@ def compute_sum_n(self, nums, n_nums):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>nums</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page
index d0e01a3..c4e6562 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page
@@ -30,7 +30,7 @@ def create_object(self):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page
index d04b3bc..d3aee4a 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page
@@ -30,7 +30,7 @@ def do_not_use(self):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page
index e441803..f23a57d 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page
@@ -31,7 +31,7 @@ objects.</p>
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page
index 20bb511..957eb46 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page
@@ -32,7 +32,7 @@ intentionally similar example to gtk_container_get_children</p>
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page
index ba3f1b1..fb4d16d 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page
@@ -31,7 +31,7 @@ each string needs to be freed.</p>
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page
index 51c19ea..4e983c1 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page
@@ -34,7 +34,7 @@ def in(self, inarg):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inarg</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page
index 9dadcb5..01aa1a3 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page
@@ -34,7 +34,7 @@ def inout(self, inoutarg):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inoutarg</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page
index 769850e..f862c2f 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page
@@ -34,7 +34,7 @@ def inout2(self, inoutarg):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inoutarg</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page
index 5eb148b..a45c659 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page
@@ -34,7 +34,7 @@ def inout3(self, inoutarg):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>inoutarg</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page
index e47158c..0716972 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page
@@ -30,7 +30,7 @@ def method(self):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page
index db56005..a9d5df4 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page
@@ -30,7 +30,7 @@ def notrans(self):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>Returns</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page
index 2363647..19b16d5 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page
@@ -34,7 +34,7 @@ def out(self, outarg):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>outarg</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page
index 7b8e8b9..f1fd601 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page
@@ -34,7 +34,7 @@ def use_buffer(self, bytes):
 <terms>
 <item>
 <title><code>self</code></title>
-  <p>a <link xref="GObject.Object"/></p>
+  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link></p>
 </item>
 <item>
 <title><code>bytes</code></title>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page
similarity index 97%
rename from tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page
rename to tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page
index 6d3ec7e..0f59ac1 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnnotationObject.watch_full"
+<page id="Regress.AnnotationObject.watch"
       type="topic"
       style="method"
       xmlns="http://projectmallard.org/1.0/";
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page
index 948cc80..a59df20 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooEnumType" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>int</api:type>
@@ -18,7 +18,7 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.method</title>
+  <title>Regress.FooEnumType.method</title>
   <synopsis><code mime="text/x-python">
 @accepts(Regress.FooEnumType)
 @returns(int)
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page
index 7b5c4e9..27bc0c3 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooEnumType" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>Regress.FooEnumType</api:type>
@@ -18,7 +18,7 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.returnv</title>
+  <title>Regress.FooEnumType.returnv</title>
   <synopsis><code mime="text/x-python">
 @accepts(int)
 @returns(Regress.FooEnumType)
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page
index 3acb845..7ff6b1e 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.FooError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,7 +14,7 @@
       <api:name>regress_foo_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.FooError.quark</title>
   <synopsis><code mime="text/x-python">
 @returns(GLib.Quark)
 def quark():
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStructPrivate.page
similarity index 90%
copy from tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-Python-expected/Regress.FooStructPrivate.page
index c21c1b7..52a15b7 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStructPrivate.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.FooStructPrivate"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,11 +8,11 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.FooStructPrivate</title>
   <synopsis><code>
 from gi.repository import Regress
 
-anonymous_union = Regress.None()
+foo_struct_private = Regress.FooStructPrivate()
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.Intset.page
similarity index 90%
copy from tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
copy to tests/scanner/Regress-1.0-Python-expected/Regress.Intset.page
index c21c1b7..030d15b 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.Intset.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.Intset"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,13 +8,13 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.Intset</title>
   <synopsis><code>
 from gi.repository import Regress
 
-anonymous_union = Regress.None()
+intset = Regress.Intset()
   </code></synopsis>
-
+  <p>Like telepathy-glib's TpIntset.</p>
 
   <links type="topic" ui:expanded="true"
          api:type="function" api:mime="text/python"
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page
index d47bc9a..832a3df 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestABCError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,7 +14,7 @@
       <api:name>regress_test_abc_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.TestABCError.quark</title>
   <synopsis><code mime="text/x-python">
 @returns(GLib.Quark)
 def quark():
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedPrivate.page
similarity index 90%
rename from tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
rename to tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedPrivate.page
index c21c1b7..d47a18c 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedPrivate.page
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<page id="Regress.AnAnonymousUnion.None"
+<page id="Regress.TestBoxedPrivate"
       type="guide"
       style="class"
       xmlns="http://projectmallard.org/1.0/";
@@ -8,11 +8,11 @@
   <info>
     <link xref="index" group="class" type="guide"/>
   </info>
-  <title>Regress.AnAnonymousUnion.None</title>
+  <title>Regress.TestBoxedPrivate</title>
   <synopsis><code>
 from gi.repository import Regress
 
-anonymous_union = Regress.None()
+test_boxed_private = Regress.TestBoxedPrivate()
   </code></synopsis>
 
 
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page
index 162276e..fd222a4 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestEnum" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>unicode</api:type>
@@ -18,7 +18,7 @@
       </api:arg>
     </api:function>
   </info>
-  <title>Regress.param</title>
+  <title>Regress.TestEnum.param</title>
   <synopsis><code mime="text/x-python">
 @accepts(Regress.TestEnum)
 @returns(unicode)
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page
index 747f149..379a1ff 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,7 +14,7 @@
       <api:name>regress_test_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.TestError.quark</title>
   <synopsis><code mime="text/x-python">
 @returns(GLib.Quark)
 def quark():
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page
index 6982f70..fee709c 100644
--- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page
@@ -6,7 +6,7 @@
       xmlns:api="http://projectmallard.org/experimental/api/";
       xmlns:ui="http://projectmallard.org/1.0/ui/";>
   <info>
-    <link xref="index" group="function" type="guide"/>
+    <link xref="Regress.TestOtherError" group="function" type="guide"/>
     <api:function>
       <api:returns>
         <api:type>GLib.Quark</api:type>
@@ -14,7 +14,7 @@
       <api:name>regress_test_unconventional_error_quark</api:name>
     </api:function>
   </info>
-  <title>Regress.quark</title>
+  <title>Regress.TestOtherError.quark</title>
   <synopsis><code mime="text/x-python">
 @returns(GLib.Quark)
 def quark():
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_boxeds_not_a_method.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boxeds_not_a_method.page
new file mode 100644
index 0000000..a97d550
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boxeds_not_a_method.page
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<page id="Regress.test_boxeds_not_a_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="index" group="function" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>none</api:type>
+      </api:returns>
+      <api:name>regress_test_boxeds_not_a_method</api:name>
+      <api:arg>
+        <api:type>Regress.TestBoxed</api:type>
+        <api:name>boxed</api:name>
+      </api:arg>
+    </api:function>
+  </info>
+  <title>Regress.test_boxeds_not_a_method</title>
+  <synopsis><code mime="text/x-python">
+ accepts(Regress.TestBoxed)
+ returns(none)
+def test_boxeds_not_a_method(boxed):
+    # Python wrapper for regress_test_boxeds_not_a_method()
+  </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>boxed</code></title>
+
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_boxeds_not_a_static.page 
b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boxeds_not_a_static.page
new file mode 100644
index 0000000..9d7a5f5
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boxeds_not_a_static.page
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<page id="Regress.test_boxeds_not_a_static"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:api="http://projectmallard.org/experimental/api/";
+      xmlns:ui="http://projectmallard.org/1.0/ui/";>
+  <info>
+    <link xref="index" group="function" type="guide"/>
+    <api:function>
+      <api:returns>
+        <api:type>none</api:type>
+      </api:returns>
+      <api:name>regress_test_boxeds_not_a_static</api:name>
+    </api:function>
+  </info>
+  <title>Regress.test_boxeds_not_a_static</title>
+  <synopsis><code mime="text/x-python">
+ returns(none)
+def test_boxeds_not_a_static():
+    # Python wrapper for regress_test_boxeds_not_a_static()
+  </code></synopsis>
+
+
+<terms>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-sections-expected.txt b/tests/scanner/Regress-1.0-sections-expected.txt
index 96df7c5..c9ff60a 100644
--- a/tests/scanner/Regress-1.0-sections-expected.txt
+++ b/tests/scanner/Regress-1.0-sections-expected.txt
@@ -74,6 +74,8 @@ regress_test_async_ready_callback
 regress_test_boolean
 regress_test_boolean_false
 regress_test_boolean_true
+regress_test_boxeds_not_a_method
+regress_test_boxeds_not_a_static
 regress_test_cairo_context_full_return
 regress_test_cairo_context_none_in
 regress_test_cairo_surface_full_out


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]