if (producers != null && !producers.isEmpty()) {
for (Object producer : producers) {
if (producer instanceof BackgroundProducer) {
captcha.addBackground((BackgroundProducer) producer);
} else if (producer instanceof GimpyRenderer) {
captcha.gimp((GimpyRenderer) producer);
} else if (producer instanceof NoiseProducer) {
captcha.addNoise((NoiseProducer) producer);
}
}