Use get_ref instead of matching.