Remove redundant constants