Remove warning due to API change.