Add missing error check for new struct on parse.