Some changes to Methods.cs