Dict functions. Console client more robust