updates for template v5 changes

@jonschlinkert These are the changes needed for template v5.