Implementation of 'noEmptyArrays' feature.