Adds API to guarantee conversion behaving for numpy ndarrays