Remove deprecations methods.
Merge pull request #2129 from dereuromark/3.0-deprecations

Remove deprecated methods.