Currently, all properties within elements are accessed via [] operator, but except for gadgets, the list of properties is set for each element type (e.g. for an image, there should always be url, length and width properties).
Make a property_accessor method to allow managed access to properties within all except gadgets, which will have to keep indirect access to the arbitrary properties within it (except url, which is always on a gadget).
Currently, all properties within elements are accessed via [] operator, but except for gadgets, the list of properties is set for each element type (e.g. for an image, there should always be url, length and width properties).
Make a property_accessor method to allow managed access to properties within all except gadgets, which will have to keep indirect access to the arbitrary properties within it (except url, which is always on a gadget).