Updated for BasePlugin v9