Enforcing const-correctness