Remove deprecated class

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | 

replace deprecated class with correct one
minor #12821 Remove deprecated class (MasterB)

This PR was merged into the 2.6 branch.

Discussion
----------

Remove deprecated class

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |
| Fixed tickets |
| License       | MIT
| Doc PR        |

Improvement: Replace deprecated class with correct one

Commits
-------

a088521 Remove deprecated class