Fixed issue with missing ndata util method