Merge branch 'for-3.10' into 'for-3.11'

Merge bugfixes into my for-3.11 branch.