Remove extra magic_enum usage