removes unused contstants.