Null support
Fix memory leak
Array support