Fix bug where tags stop resources being added.
Added tags repository.