Now adds GObject automatically when the source file contains at least one class