Remove unused code/fix misplaced private

The external_ids functions should not be private. The set_resilency code
is completely unused.

Change-Id: I3d7d08c4e84f48532138f406e082057991388968