Fix `frontend` deprecation warnings in several examples