Adds basic labels support to the registry code (V2), and the API. Note that this does not yet add any UI related support.