Can now create doc or kind in lbconsole using e.g. "x = new(doc)" or "x
= new(doc,'MyDoc')".