Good point! I'll modify the Javadoc to note that flattening requires the template to set the Type, but I also add the code to the Wonder templates in WOLips and do a pull request for that as well.