Make the code const correct

Basically, instead of `RCP<Integer>`, we really need to be using `RCP<const Integer>`. This requires fixes all over the code.