Fix compilation issue due to method rename.