Added dev attribute to DevCmd and DevCmdVar;
this is very useful for device command callbacks.