Fix strict warning when calling get_default_items as a static method