Added "Value" property to field element.

Value is a function.
Fixed inconsistency in property names.

Must be “attribute” not “attr”.
Cleanups.