Added lightweight scoped_ptr.