Added discovery functions for UI components and their attributes.