Pass tags as const reference