RestSharp doesn't seem to be paying attention to the "SerializeAs" attribute that I've decorated one of my class names with:Person\[code\][Serializable, SerializeAs(Name = "person")]public class Person{ [SerializeAs(Name = "first-name")] public string FirstName { get; set; } [SerializeAs(Name = "contact-data")] public ContactData ContactData { get; set; }}\[/code\]ContactData\[code\]public class ContactData{ [SerializeAs(Name = "email-addresses")] public List<EmailAddress> EmailAddresses { get; set; }}\[/code\]EmailAddress\[code\][SerializeAs(Name = "email-address")]public class EmailAddress{ [SerializeAs(Name = "address")] public string Address { get; set; } [SerializeAs(Name = "location")] public string Location { get; set; }}\[/code\]I'm using the following code to serialize the XML:\[code\]var request = new RestRequest("people/{id}.xml", Method.PUT);request.AddParameter("id", person.Id, ParameterType.UrlSegment);request.XmlSerializer = new XmlSerializer();request.AddBody(person);\[/code\]However, the resulting XML looks like this:\[code\]<person> <first-name>Scott</first-name> <contact-data> <email-adresses> <EmailAddress> <address>[email protected]</address> <location>Work</location> </EmailAddress> </email-adresses> </contact-data></person>\[/code\]You can see that the \[code\]<EmailAddress>\[/code\] element appears to be ignoring the \[code\]SerializeAs\[/code\] attribute and is not serialized to "email-address" as I would expect it to be while all of the others work just fine. Does anyone know why this might be happening or how to fix it?