Make documents recursive