Replaced boost::shared_ptr with std::shared_ptr