Cleaned up some nbt stuff.