Updated some data encoding attributes.
Added arity property.
Fixed various things.
Added style, JSON encoding safety.
Rendering kind of works now.