Since all other functions take pointers, this makes the interface more consistent.
Solves a corner case after a crash.