Sets tags and groups for PostRoute.