Changes in Match to return a copy instead of sending a reference.