Remove deprecations.
Merge pull request #3923 from dereuromark/3.0-deprecated

Remove deprecations.