Fix incompatibility with Spigot.