Add backwards compatibility method for .NET Standard 2.0 targets.
Add backwards compatibility method for .NET Standard 2.0 targets.