Abstract this away into a thin wrapper over the denali client such that it can be called from other helper classes.