Removing flattening methods after an explanation from jnthn++