Removes deprecated constants.