Add checks while parameter setting since empty lists mean nil objects