namedlist_block has to be allocated mutably, to cache lookups