Force to use shared_ptr.