Exactly so said the Hatter as the things get used up

What is the correctly punctuated version of this sentence?
'Exactly so,' said the Hatter: 'as the things get used up.'