Remove #fromExtension even if history is disabled