Reducing the amount of code by switching to .NET Standard