Offset is necessary in LazyGQuery because there is a method which this argument. But GQuery does not import it because Offset has the same namespace. The script copy all imports as I said in my last comment, so it has to add manually a couple of them as well, otherwise the generated interface by the script does not compile.