+#include "context-def.hh"
+#include "global-context.hh"
+#include "international.hh"
+#include "music.hh"
+
+bool check_grob (Music *mus, SCM sym);
+
+/**
+ There is no real processing to a property: just lookup the
+ translation unit, and set the property.
+*/
+void
+Property_iterator::process (Moment mom)
+{
+ Context *o = get_outlet ();
+ Music *m = get_music ();
+
+ send_stream_event (o, "SetProperty", m->origin (),
+ ly_symbol2scm ("symbol"), m->get_property ("symbol"),
+ ly_symbol2scm ("value"), m->get_property ("value"),
+ ly_symbol2scm ("once"), m->get_property ("once"));
+
+ Simple_music_iterator::process (mom);
+}
+
+void
+Property_unset_iterator::process (Moment mom)
+{
+ Context *o = get_outlet ();
+ Music *m = get_music ();
+
+ send_stream_event (o, "UnsetProperty", m->origin (),
+ ly_symbol2scm ("symbol"), m->get_property ("symbol"),
+ ly_symbol2scm ("once"), m->get_property ("once"));
+
+ Simple_music_iterator::process (mom);
+}
+
+bool
+check_grob (Music *mus, SCM sym)
+{
+ bool g = to_boolean (scm_object_property (sym, ly_symbol2scm ("is-grob?")));
+
+ if (!g)
+ mus->origin ()->warning (_f ("not a grob name, `%s'",
+ ly_symbol2string (sym)));
+
+ return g;
+}
+
+SCM
+get_property_path (Music *m)
+{
+ SCM grob_property_path = m->get_property ("grob-property-path");
+
+ SCM eprop = m->get_property ("grob-property");
+ if (scm_is_symbol (eprop))
+ {
+ grob_property_path = scm_list_1 (eprop);
+ }
+
+ return grob_property_path;
+}
+
+void
+Push_property_iterator::process (Moment m)