added scope configuration to target.class instead of interface