Pattern matching ref updated to reflect production.