Minor: this call might be a good place to use named arguments as many of the arguments are not obvious from context.