public static T GetUIControl <T>(this PartModule module, string name) where T : UI_Control { return((T)module.GetUIControl(name)); }