Fixed a build error in release.
* Removed const from a function that was actually modifying the class contents.
* These didn't seem like they should be made mutable, and no references to the function were currently made with a const reference so it was ok to remove it.