Remove unnecessary getIcon.