added getIcon() and getIconMarkup() methods