Added helper method for tag management