Update to v3.1.6 (see changelog for details).