Make additional variables accessible to templates