mark some functions as returning !

Closes #10023