Remove obsolete classes, update Javadoc and fix tests calling all() instead of tail(). Original Pull Request: #608