Protected agains null parameter collections when generating instances