Removed exposure of UIElementFlags.