Update: fix compile warnings.