private static FunctionReference ParseLink(XElement data) { var link = new FunctionReference(); link.LoadXml(data); return link; } }