Preparations for a new tag structure. Tags are now stored in a dedicated table.