Remove unnecessary constants.