Maybe I'm missing something but why is const necessary here? Did it throw errors before this existed?