Does archival node store the codes and account storage, or only the hashes of them?

self.ethereum1m ago
The archival nodes store the entire history of Ethereum, storing not just current state but also all the historical states. But the 'historic states' include the codes and account storages, or just hashes of them?