Make shared.Destroyed use properties.

See #21.