Add variables to collection template