Adds c_arr method to access underlying memory.