I would just do the mapping to arrays instead an array instead of calls to `createHandler`.