Fix dropped support for documentsMain.useUnstable flag