Changed constructor paramter settings to default to a blank array - this prevents array_replace_recursive being run on a null object.