Update make_origin call.

Pass the loader rather than the old load_template_source method.