Moving boilerplate to parse structure