Expose UIElement to modules
Merge pull request #1121 from Josharias/ExposeUIElementToAPI

Expose UIElement to modules