Don't pass by reference if returning as array