Original version of nbtAPI