Input (grade 9): It was written as fiction for readers of all ages, but in recent decades has been considered a children's book.
Output (grade 8): It was written as fiction for readers of all ages, for a few decades has been classified as a children's book.