deprecated API removed.