Remove definition of method.

When merging to next, it is being duplicated, apparently as conflict
resolution with the export-cleanups branch.
Merge topic 'test-export-iface-genex' into next

4d4f765 Remove definition of method.