Docs
Tests, docs, fix to pretty_print