Complex tag management