Remove unused code and change to docstyle comments.