Added Spigot-1.8 api comparability