Patches to bean module to support wetkit_deployment.