Fix compilation failure due to method rename.