Enforce that child folders share their parents' types