Use enum for packaging type instead of string.