Updated the deprecation warnings to 5.0