Added named patterns to structs.