swfClient as optional argument for ActivityTask and DecisionTask