Update detail, core, smart_ptr from master.