Flatten structure.