properly bootstrap essential classes in some deterministic order