Changed how partials are passed to AMD wrapper.