Removes redundant way to get keys.
Removes unnecessary(?) synchronisation.