Simplify passing data to templates