A fix for ComponentLoader when used as a dependency.