Making a few minor optimizations and documentation changes.
Authored by: nerius 2023-11-20
Parent: [r1778]
Child: [r1780]