Added getWorkers API function support