Convert package to the new template format (f).