Create custom type to avoid extra typing of slices