Implement TagAPI into Spigot - much more efficient and only a dozen lines of code.