Use atomic get_or_create where necessary