Some complained that the books, which had sexual content and LGBTQ+ themes, were inappropriate for young people