Could it just move into load_template_vars?