def demo_main(cls, **traits):
    """ Create the demo application and start the mainloop, if needed.

    This is a simple wrapper around `cls.demo_main` for compatibility with the
    `DemoFrame` implementation.

    This should be called with appropriate arguments which will be passed to
    the class' constructor.

    """
    cls.demo_main(**traits)
