Params handling in templates.