BundleGenerator: bind to the instance of Configurator that created it
BundleGenerator: removed unused code
BundleGenerator: added support for callbacks executed between object generation and serialization