Reorganize license header
Change make_weak to as_weak