Implements #905 Add class to smilies