Note that the fix will probably not work if there is an interceptor associated with the bean class (Weld is also using subclasses for interceptors and decorators stack).