visser:
It's for a preference system, attaching temporary preferences to a string which contains an object.
...
visser:
Because I want pretty much an event system out of this. Pretty much, accessing sensor values or motor directions when needed. Then destroyed, once accessed.
Make up your mind. You want a preference system, you want an event system. What DO you want? Your requirements seem to have changed completely.