Update usage of constants in comments

Some old constants in docstrings and comments have been replaced with
their new counterparts.