Tidying up some functions that aren't being used anywhere.
Authored by: nerius 2023-11-20
Parent: [r1775]
Child: [r1777]