Use values instead of pointers.