Updated for BasePlugin v9.1