Minor API and documentation cleanup
Print array functionality