Removes unnecessary constants