doc: correct handling of classes as default arguments' values