Fixed deprecations warnings.