Fix setkeys bug in DoCMDS, forgot to create the object before calling t's methods, which threw an NPE.