Added SmartPtr