Updated for changes to BasePluign build method