This makes it impossible to use bundles requiring to pass the kernel as first argument (i.e. some JMS bundles)