added profile#get_document method