Take a vector slice instead of an owned pointer.
Stub logic to avoid a variable unused warning.