Archive and takeover namespaces with Flow

Change-Id: Ie785403748cc22bc28ff52a172bfaafad8aaf18b
(cherry picked from commit 917e63b562b662328e6f2d3ce348739bfc07f8cb)