Finally got rid of tables in documents