Handle the case where there are no chunk instances more gracefully when building the widget.
Simplify processing of query returning entities using a chunk of a given type.
Remove unnecessary type checks and use type hinting where possible.
Use type hinting instead of is_array() everywhere.
Handle the case where there are no chunk instances when the field settings form is saved.