Removing duplicate constants