Remove unneeded constants.