add and remove functions to events on named-properties