Client patch and gen using IEnumerable and Action.