Tag registry optimization