This is just for future reference for people reading the code in future.
I was going through and checking to see if any of them needed to be made
const (none of them did).
I did find a couple of memory leaks though; see the following commits.
Signed-off-by: Philip Withnall email@example.com
Helps: #3155 (closed)