This does even more cleanups for functions that cannot really fail because of soft allocation failure is now impossible or the API is used only internally, so we can be more strict on the input parameters.
Closes #2938
This does even more cleanups for functions that cannot really fail because of soft allocation failure is now impossible or the API is used only internally, so we can be more strict on the input parameters.
Closes #2938