Remove constants that are not used