Updated for bukkit's standards.