Reducing code to single actionsQueue.Enqueue