Use shared pointer for Global.