if no resource arg is passed in then default now ensures 'class' will not be set