Hallucination is indeed a problem.
As for the libraries, for using more modern libraries, usually it also requires more recent language versions.