Allow empty default array when type is given.