Handle length attribute on the Structure.
Length checking.
Cleanup.