Objects are now destroyed on exit.