Add conditionals to provider templates. More to come...