Clear the addresses array when destroying.
Remove some readonly specific code in generic code.