Pedantic change for const-correctness: change three calls to