temporarily make native document.register opt-in via ?register