Re: Trying to resolve 2 deprecation warnings