Wrapped a struct around type,action,items