you’ve been told on the github issue that those APIs were removed. you can’t bring them back.
use the current APIs.