Honor ifvarclass in classes promises in common bundles