Expand API to remove dependance on bukkit in plugins