Add dynamic attribute creation, make attributes read-only by default