Ensure get_config() optional argument is an array, remove useless test
Allow items to be set even if they were not present yet
Adjustments in static reference handling