[old api] Remove deprecated old API, closes #197016 [rejected]