Remove print_document in favour of print_element