Fixed deprecation errors