Add rendering and editing for tags.