Add additional kwargs to esi template