Update smart_ptr, core from develop.