Made the CArray API pythonic