Update smart_ptr, bind, core from master.