Adding a convenience assertion to ensure we only store lists in List
objects.