Changed the Target of InstanceFactory annotation from FIELD to METHOD