Well, that was painful. But template packaging now works.