Minor fix, made attributes default to [] instead of null.