Handled deprecation warnings