Thanks for the tip! I was able to change the return value of `Bean.getBeanClass` for the synthetic beans to a class provided by my extension, and since that's on a deployment/module class loader, everybody's happy.