Completing the 'add class' snippet