Replaced boost shared pointer with std shared pointer.