removed unused key type
split out root cache