Added shared_ptr macro