Remove duplicate import.
Remove extra newlines.
Add prune helper function.
Add get_latest_revisions_query.
Remove get_article_count properties.
Remove class methods.