Extension API tests
 ===================
 
 Testing directives:
 
 .. funcdir::
    :opt: Foo
 
 .. clsdir::
    :opt: Bar