Remove unused constants and variables.