Update MethodExtensions.cs