[corlib] Add missing api