I think the issue is that TabsEditingDescriptor is a generic class. It should not be tied to the video module. How about the function calls occurring in a JavaScript file registered by VideoAlphaDescriptor? Right now, VideoAlphaDescritpor only registers HTML and CSS files. But I would expect this sort of initialization to happen in a JavaScript file instead of an HTML template.