Added functionality of doc without print-doc

Also, without macros. Just use symbols.