Rename resources -> res_tags, etc.
Cosmetic code changes.