Add func to handlers to DRY up header initialization