Fix build error after function rename.