lib: retire hashmap, move to field