Add support for more hash methods (as supported in QT 5), and improve comments.