Be more rigorous about the sizes of forms and attributes.