Change getDefaults to use + operator instead of array_merge