Update because of depreciated methods for continued compatibility with
Bukkit.