Added validation attributes.