Added an XML reference to a methods parent class, and added an equals method to MethodModel.