Rename constants to variants.