Adds const to more getters

adds `const` to more getters.