Inheritance of the Rhino.RhinoDoc class in python

Hi,

We are trying to create a class which inherets the Rhino.RhinoDoc, but this does not appear to work. See example below. Is it possible/allowed to inherit this class?

import rhinoinside
rhinoinside.load()
import System
import Rhino
import Rhino.Geometry as geom

class Doc(Rhino.RhinoDoc):

    def __init__(self, filename=None):

        if filename:
            self.OpenHeadless(filename)
        else:
        self.CreateHeadless(None)

RhinoDoc is declared as sealed which means you should not be able to derive from it

https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_RhinoDoc.htm