Removing one deprecation warning