In VisualEditor project we have a standard of not accessing private variables (with few exceptions, e.g. $/$element). This rule is broken here ($image, $videoWrapper) and I don't think it should be.