Implemented alerts. Also refactored IHasTextAttribute to IHasTextContent because IHasTextAttributes makes no sense at all (name due to copy-paste).