Renamed attribute with flags.
Added length validator (closes #28).