This one feels like the good ol' nighties. Why don't use a `boost::shared_ptr` here instead?