It’s because that generated .h file links the file so it’s available.
I’m not positive, but you can probably delete out the class it creates, just keep the #includes
There is no real overhead for having a declared but not instantiated class in C++. I’m not really familiar with Delphi or Pascal. Maybe it is the sloppy way of linking in the generated.h but it is the way I know how to do it, just let the Editor make it.