Deprecating the object should be enough. If you access that to call a method, you'll always get the deprecation warning, right?