You may want to check the availability of the new api before calling it since not everyone will be running with the new shell that has this api.