Automatically generate the Bundle class file