Add 2 missing cmp functions.