I forgot this case, so I will put $configs as a second constructor argument. We will see later if someone need to apply some operations on $configs.