Fix internal call to deprecated method name.