Allowed use of AOP on objects created by a generated factory