Fix function prototypes for narray.
Begin implementation for narray functions.