diff --git a/libwccl/values/match.h b/libwccl/values/match.h
index 6685ce3d8f376ead79ecdd2518911f511a765cef..5be080f617e9459f8da069c2441619584ef10c82 100644
--- a/libwccl/values/match.h
+++ b/libwccl/values/match.h
@@ -63,6 +63,10 @@ public:
 		return *match_;
 	}
 
+	MatchData& get_value() {
+		return *match_;
+	}
+
 	void set_value(const MatchData& m) {
 		match_ = m.clone();
 	}