Fixing deprecation warnings