Use enum instead of const value.