Attributes collection

Attributes collection was returning type Control and not XrmAttribute