Refactoring ComputePlugin methods to receive Token object