Posted by Jean-Baptiste Nizet on this thread:
The second thing I don't like is that I can't access indexed properties. The
only possible way is to put them into a Map, and expose the map to the outside,
which breaks encapsulation IMHO.